Kaydet (Commit) 4933d057 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

ODB ODF standard conformance: xlink:href needs xlink:type

Change-Id: Ide0fc9331a62c1ddb1f7fe9aaee8a27ed35af8e7
üst a62a80ac
......@@ -651,6 +651,7 @@ void ODBExport::exportConnectionData()
else
{
AddAttribute(XML_NAMESPACE_XLINK, XML_HREF,sValue);
AddAttribute(XML_NAMESPACE_XLINK, XML_TYPE, XML_SIMPLE);
SvXMLElementExport aElem(*this,XML_NAMESPACE_DB, XML_CONNECTION_RESOURCE, sal_True, sal_True);
}
}
......@@ -861,6 +862,7 @@ void ODBExport::exportComponent(XPropertySet* _xProp)
sValue = "reports/" + sValue;
AddAttribute(XML_NAMESPACE_XLINK, XML_HREF,sValue);
AddAttribute(XML_NAMESPACE_DB, XML_TYPE, XML_SIMPLE);
sal_Bool bAsTemplate = sal_False;
_xProp->getPropertyValue(PROPERTY_AS_TEMPLATE) >>= bAsTemplate;
AddAttribute(XML_NAMESPACE_DB, XML_AS_TEMPLATE,bAsTemplate ? XML_TRUE : XML_FALSE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment