Kaydet (Commit) 0a412cc1 authored tarafından Miklos Vajna's avatar Miklos Vajna

n#764005 dmapper: don't insert "at page" anchored graphics as "as character"

Change-Id: Ibdde32014d2fc2fe43d59a5cc6ee7f722adcbfb6
üst d4fac516
......@@ -1524,6 +1524,10 @@ void DomainMapper_Impl::PushShapeContext( const uno::Reference< drawing::XShape
xProps->getPropertyValue(rPropNameSupplier.GetName(PROP_VERT_ORIENT_POSITION)) >>= nVertPosition;
if (nHoriPosition != 0 || nVertPosition != 0)
bIsGraphic = false;
text::TextContentAnchorType nAnchorType(text::TextContentAnchorType_AT_PARAGRAPH);
xProps->getPropertyValue(rPropNameSupplier.GetName( PROP_ANCHOR_TYPE )) >>= nAnchorType;
if (nAnchorType == text::TextContentAnchorType_AT_PAGE)
bIsGraphic = false;
xProps->setPropertyValue(
rPropNameSupplier.GetName( PROP_OPAQUE ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment