summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-11-27 08:21:06 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-11-27 12:17:21 +0100
commit034c6ef667e734ee1f525daffc55d89cdc83b261 (patch)
tree0bd8f2a3d6bfad7ddb15ed8299e3b9e33ec4efeb /writerperfect
parent0b3a408cfdd0a212423bb172f091f2a0d1c83423 (diff)
EPUB export: handle horizontal left/right positioning of non-as-char images
The change in XMLStyleContext::startElement() just makes sure that properties from the parent graphic styles are read, but currently it's just a nice-to-have addition, we don't depend on this yet, so no test. Change-Id: Ieac599dd47049edea57cb0860aa483f1045b47fd Reviewed-on: https://gerrit.libreoffice.org/45308 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/writer/exp/txtstyli.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/writerperfect/source/writer/exp/txtstyli.cxx b/writerperfect/source/writer/exp/txtstyli.cxx
index 88c63aa9063f..e8fe1a43bea0 100644
--- a/writerperfect/source/writer/exp/txtstyli.cxx
+++ b/writerperfect/source/writer/exp/txtstyli.cxx
@@ -260,6 +260,7 @@ void XMLStyleContext::startElement(const OUString &/*rName*/, const css::uno::Re
OString sValue = OUStringToOString(rAttributeValue, RTL_TEXTENCODING_UTF8);
m_aTextPropertyList.insert(sName.getStr(), sValue.getStr());
m_aParagraphPropertyList.insert(sName.getStr(), sValue.getStr());
+ m_aGraphicPropertyList.insert(sName.getStr(), sValue.getStr());
}
}