diff options
Diffstat (limited to 'writerperfect/source/writer/exp/txtstyli.cxx')
-rw-r--r-- | writerperfect/source/writer/exp/txtstyli.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/writerperfect/source/writer/exp/txtstyli.cxx b/writerperfect/source/writer/exp/txtstyli.cxx index 4a8f6a42e3c0..548aa654dcdf 100644 --- a/writerperfect/source/writer/exp/txtstyli.cxx +++ b/writerperfect/source/writer/exp/txtstyli.cxx @@ -295,6 +295,7 @@ void XMLStyleContext::startElement(const OUString &/*rName*/, const css::uno::Re m_aParagraphPropertyList.insert(sName.getStr(), sValue.getStr()); m_aGraphicPropertyList.insert(sName.getStr(), sValue.getStr()); m_aPageLayoutPropertyList.insert(sName.getStr(), sValue.getStr()); + m_aMasterPagePropertyList.insert(sName.getStr(), sValue.getStr()); } } @@ -319,6 +320,8 @@ void XMLStyleContext::endElement(const OUString &rName) m_rStyles.GetCurrentGraphicStyles()[m_aName] = m_aGraphicPropertyList; else if (rName == "style:page-layout") m_rStyles.GetCurrentPageLayouts()[m_aName] = m_aPageLayoutPropertyList; + else if (rName == "style:master-page") + m_rStyles.GetCurrentMasterStyles()[m_aName] = m_aMasterPagePropertyList; } librevenge::RVNGPropertyList &XMLStyleContext::GetTextPropertyList() @@ -361,6 +364,11 @@ librevenge::RVNGPropertyList &XMLStyleContext::GetPageLayoutPropertyList() return m_aPageLayoutPropertyList; } +librevenge::RVNGPropertyList &XMLStyleContext::GetMasterPagePropertyList() +{ + return m_aMasterPagePropertyList; +} + } // namespace exp } // namespace writerperfect |