Kaydet (Commit) 804da2a9 authored tarafından Luboš Luňák's avatar Luboš Luňák

actually read brightness/contrast when reading docx (bnc#875713)

It's read for the shape in oox/ , but it didn't make it any further apparently.

Change-Id: I0885a675f72d63b3d262f1ef7e42f5d2e03588b6
üst d1ffea3a
......@@ -656,6 +656,10 @@ void GraphicImport::lcl_attribute(Id nName, Value& rValue)
xShapeProps->getPropertyValue("ShadowTransparence") >>= m_pImpl->nShadowTransparence;
}
xShapeProps->getPropertyValue("GraphicColorMode") >>= m_pImpl->eColorMode;
xShapeProps->getPropertyValue("AdjustLuminance") >>= m_pImpl->nBrightness;
xShapeProps->getPropertyValue("AdjustContrast") >>= m_pImpl->nContrast;
// fdo#70457: transform XShape into a SwXTextGraphicObject only if there's no rotation
if ( nRotation == 0 )
m_xGraphicObject = createGraphicObject( aMediaProperties );
......
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