Kaydet (Commit) 6c569a2e authored tarafından Michael Stahl's avatar Michael Stahl

sw: docx export: write something more specific for embedded PDF

Doesn't really change anything, but looks nicer.

Change-Id: I8f2dc41adaf22e11b1c15ba619ac00b6b72892fa
üst e24d0883
...@@ -4840,6 +4840,12 @@ void DocxAttributeOutput::WriteOLE( SwOLENode& rNode, const Size& rSize, const S ...@@ -4840,6 +4840,12 @@ void DocxAttributeOutput::WriteOLE( SwOLENode& rNode, const Size& rSize, const S
sRelationType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject"; sRelationType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject";
sFileExtension = "xls"; sFileExtension = "xls";
} }
else if (sProgID == "AcroExch.Document.11")
{
sMediaType = "application/pdf";
sRelationType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject";
sFileExtension = "pdf";
}
else else
{ {
sMediaType = "application/vnd.openxmlformats-officedocument.oleObject"; sMediaType = "application/vnd.openxmlformats-officedocument.oleObject";
......
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