summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-07-01 12:05:23 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-09-06 19:31:47 +0200
commite5bc604fd2fd54f0f1fc79c2ac8004860afd0e20 (patch)
tree2c97bb930710aabba7f18b52aece0675679b238f
parent180c8178e8c99295b5d122faffc44330cfca954d (diff)
bnc#779642 fdo#46361 oox: handle w:br for groupshape textboxes
Change-Id: Ib78891614256b197cefbe766a4a4a9c76219f1cf (cherry picked from commit b1f78c44c1acc246f06a963383232c9bf649a06b)
-rw-r--r--oox/source/vml/vmltextboxcontext.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/vml/vmltextboxcontext.cxx b/oox/source/vml/vmltextboxcontext.cxx
index 903f64e49dd8..9e6f63067331 100644
--- a/oox/source/vml/vmltextboxcontext.cxx
+++ b/oox/source/vml/vmltextboxcontext.cxx
@@ -126,6 +126,9 @@ void TextPortionContext::onStartElement(const AttributeList& rAttribs)
case OOX_TOKEN(doc, sz):
maFont.monSize = rAttribs.getInteger( OOX_TOKEN(doc, val) );
break;
+ case OOX_TOKEN(doc, br):
+ mrTextBox.appendPortion( maFont, "\n" );
+ break;
}
}