From 969a760e2bad7f65c28eba425af1751946b09d76 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 3 Feb 2016 22:39:46 +0100 Subject: reportbuilder: tdf#92720: add loext namespace ... to allow export of paragraphs in shapes. (regression from 6acc6c011d3afd6834efeee1b2efe43652a86f2e) Change-Id: I2c23e686a2cfcd997d3393b0f9fb4cdcab7252b7 --- reportbuilder/java/org/libreoffice/report/pentaho/OfficeNamespaces.java | 1 + .../libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java | 1 + 2 files changed, 2 insertions(+) (limited to 'reportbuilder/java') diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/OfficeNamespaces.java b/reportbuilder/java/org/libreoffice/report/pentaho/OfficeNamespaces.java index 27743593277a..6a7d144865fe 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/OfficeNamespaces.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/OfficeNamespaces.java @@ -51,6 +51,7 @@ public class OfficeNamespaces public static final String OOREPORT_NS = "http://openoffice.org/2005/report"; public static final String GRDDL_NS = "http://www.w3.org/2003/g/data-view#"; public static final String CONFIG = "urn:oasis:names:tc:opendocument:xmlns:config:1.0"; + public static final String LOEXT_NS = "urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"; private OfficeNamespaces() diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java index 2889a8f3b4eb..e629d43081a3 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java @@ -383,6 +383,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget rootAttributes.addNamespaceDeclaration("xsd", OfficeNamespaces.XSD_NS); rootAttributes.addNamespaceDeclaration("xsi", OfficeNamespaces.XSI_NS); rootAttributes.addNamespaceDeclaration("grddl", OfficeNamespaces.GRDDL_NS); + rootAttributes.addNamespaceDeclaration("loext", OfficeNamespaces.LOEXT_NS); rootAttributes.setAttribute(OfficeNamespaces.OFFICE_NS, "version", ODF_VERSION); -- cgit