summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-12-02 16:00:58 +0100
committerMichael Stahl <mstahl@redhat.com>2015-12-03 17:52:42 +0100
commit6c569a2ed797aa7ad52f8a7dc6be3bfb3b4b452a (patch)
tree90cd431ab659a385c0d29fb932377616f065d7c6
parente24d08836403fef63aec70af054ef0d42c924345 (diff)
sw: docx export: write something more specific for embedded PDF
Doesn't really change anything, but looks nicer. Change-Id: I8f2dc41adaf22e11b1c15ba619ac00b6b72892fa
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index e27309426286..5b56d5bf4819 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -4840,6 +4840,12 @@ void DocxAttributeOutput::WriteOLE( SwOLENode& rNode, const Size& rSize, const S
sRelationType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject";
sFileExtension = "xls";
}
+ else if (sProgID == "AcroExch.Document.11")
+ {
+ sMediaType = "application/pdf";
+ sRelationType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject";
+ sFileExtension = "pdf";
+ }
else
{
sMediaType = "application/vnd.openxmlformats-officedocument.oleObject";