summaryrefslogtreecommitdiff
path: root/writerperfect/source/writer/exp/xmlimp.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-11-29 11:44:55 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-11-29 17:49:20 +0100
commit389f7b9581ebd6420a8b9f815807d957608ce8a8 (patch)
tree2375b8f0c0bbacc313b143d58de071700b5d3a74 /writerperfect/source/writer/exp/xmlimp.hxx
parent67eeab179a7e1d8b479d08a38093172531d4c3c9 (diff)
EPUB export: add support for cover images
Pick them up from <base directory>/<base name>.cover-image.<ext> as a start. Change-Id: Ie5ee7c02d6b3271e6e850ca9a2a10ed0bb4a598d Reviewed-on: https://gerrit.libreoffice.org/45483 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'writerperfect/source/writer/exp/xmlimp.hxx')
-rw-r--r--writerperfect/source/writer/exp/xmlimp.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/writerperfect/source/writer/exp/xmlimp.hxx b/writerperfect/source/writer/exp/xmlimp.hxx
index e1b80571d278..b1008f00dbf0 100644
--- a/writerperfect/source/writer/exp/xmlimp.hxx
+++ b/writerperfect/source/writer/exp/xmlimp.hxx
@@ -15,6 +15,7 @@
#include <librevenge/librevenge.h>
+#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <cppuhelper/implbase.hxx>
@@ -49,9 +50,10 @@ class XMLImport : public cppu::WeakImplHelper
std::map<OUString, librevenge::RVNGPropertyList> maTableStyles;
std::map<OUString, librevenge::RVNGPropertyList> maAutomaticGraphicStyles;
std::map<OUString, librevenge::RVNGPropertyList> maGraphicStyles;
+ librevenge::RVNGPropertyListVector maCoverImages;
public:
- XMLImport(librevenge::RVNGTextInterface &rGenerator);
+ XMLImport(librevenge::RVNGTextInterface &rGenerator, const OUString &rURL, const css::uno::Sequence<css::beans::PropertyValue> &rDescriptor);
rtl::Reference<XMLImportContext> CreateContext(const OUString &rName, const css::uno::Reference<css::xml::sax::XAttributeList> &xAttribs);
@@ -70,6 +72,7 @@ public:
std::map<OUString, librevenge::RVNGPropertyList> &GetRowStyles();
std::map<OUString, librevenge::RVNGPropertyList> &GetTableStyles();
std::map<OUString, librevenge::RVNGPropertyList> &GetGraphicStyles();
+ const librevenge::RVNGPropertyListVector &GetCoverImages();
// XDocumentHandler
void SAL_CALL startDocument() override;