Kaydet (Commit) 3ffb06e7 authored tarafından Michael Stahl's avatar Michael Stahl

fdo#80410: sw: DOCX export: support DOCX embedded objects

Change-Id: Ifa9e12eee4139a9c9c5d17a349ff3511c62b3ea8
üst d4810a81
...@@ -4455,7 +4455,12 @@ void DocxAttributeOutput::WriteOLE( SwOLENode& rNode, const Size& rSize, const S ...@@ -4455,7 +4455,12 @@ void DocxAttributeOutput::WriteOLE( SwOLENode& rNode, const Size& rSize, const S
sRelationType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/package"; sRelationType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/package";
sFileExtension = "docm"; sFileExtension = "docm";
} }
//Implementation for embedded Word 97-2003 document was missing else if (sProgID == "Word.Document.12")
{
sMediaType = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
sRelationType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/package";
sFileExtension = "docx";
}
else if( sProgID == "Word.Document.8" ) else if( sProgID == "Word.Document.8" )
{ {
sMediaType = "application/msword"; sMediaType = "application/msword";
......
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