diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-23 09:13:40 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-23 09:14:36 +0100 |
commit | 6f94cab9c43f88624b58a47ad03ad5f87032595d (patch) | |
tree | a2b0e4843d81befabcf929e3b5cd94b1b21a58f4 /writerfilter/inc | |
parent | 4f6e3108d9b9b67f21d11d597f2e607acafabd72 (diff) |
tdf#59699 RTF import: handle INCLUDEPICTURE field
On one hand, don't handle a fieldmark for it in dmapper.
On the other hand, handle the field in the RTF tokenizer as it would be
{\pict ...hexdump... }, that will result in an inline picture, as
wanted.
Change-Id: I554fdf017920350144300fd86617bf74eed8995b
Diffstat (limited to 'writerfilter/inc')
-rw-r--r-- | writerfilter/inc/rtftok/RTFDocument.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/inc/rtftok/RTFDocument.hxx b/writerfilter/inc/rtftok/RTFDocument.hxx index ac40a9ce4f26..c3f65b7d5be4 100644 --- a/writerfilter/inc/rtftok/RTFDocument.hxx +++ b/writerfilter/inc/rtftok/RTFDocument.hxx @@ -15,6 +15,7 @@ #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/task/XStatusIndicator.hpp> +#include <unotools/mediadescriptor.hxx> namespace writerfilter { @@ -44,7 +45,7 @@ public: css::uno::Reference<css::lang::XComponent> const& xDstDoc, css::uno::Reference<css::frame::XFrame> const& xFrame, css::uno::Reference<css::task::XStatusIndicator> const& xStatusIndicator, - bool bIsNewDoc); + const utl::MediaDescriptor& rMediaDescriptor); }; } // namespace rtftok } // namespace writerfilter |