diff options
Diffstat (limited to 'writerperfect/source/writer/exp/xmlimp.cxx')
-rw-r--r-- | writerperfect/source/writer/exp/xmlimp.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/writerperfect/source/writer/exp/xmlimp.cxx b/writerperfect/source/writer/exp/xmlimp.cxx index 130d15b9fad3..b1991a5ce506 100644 --- a/writerperfect/source/writer/exp/xmlimp.cxx +++ b/writerperfect/source/writer/exp/xmlimp.cxx @@ -253,6 +253,8 @@ rtl::Reference<XMLImportContext> XMLOfficeDocContext::CreateChildContext(const O return new XMLStylesContext(mrImport, XMLStylesContext::StyleType_AUTOMATIC); if (rName == "office:styles") return new XMLStylesContext(mrImport, XMLStylesContext::StyleType_NONE); + if (rName == "office:master-styles") + return new XMLStylesContext(mrImport, XMLStylesContext::StyleType_NONE); if (rName == "office:font-face-decls") return new XMLFontFaceDeclsContext(mrImport); if (rName == "office:body") @@ -531,6 +533,11 @@ std::map<OUString, librevenge::RVNGPropertyList> &XMLImport::GetPageLayouts() return maPageLayouts; } +std::map<OUString, librevenge::RVNGPropertyList> &XMLImport::GetMasterStyles() +{ + return maMasterStyles; +} + void XMLImport::startDocument() { mrGenerator.startDocument(librevenge::RVNGPropertyList()); |