[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/koffice-ko/kchart/shape
From: Johannes Simon <johannes.simon () gmail ! com>
Date: 2010-04-11 21:56:56
Message-ID: 20100411215656.40577AC89C () svn ! kde ! org
[Download RAW message or body]
SVN commit 1113826 by jsimon:
A size specified for the chart:chart element overwrites that of its frame if embedded
M +3 -1 ChartShape.cpp
--- branches/work/koffice-ko/kchart/shape/ChartShape.cpp #1113825:1113826
@@ -937,8 +937,10 @@
context.odfLoadingContext().fillStyleStack( chartElement, KoXmlNS::chart, \
"style-name", "chart" ); styleStack.setTypeProperties( "graphic" );
}
+ // Also load the size here as it, if specified here, overwrites the frame's \
size, + // See ODF specs for chart:chart element for more details.
loadOdfAttributes( chartElement, context,
- OdfAdditionalAttributes | OdfMandatories | \
OdfCommonChildElements | OdfStyle ); + OdfAdditionalAttributes \
| OdfMandatories | OdfCommonChildElements | OdfStyle | OdfSize );
#ifndef NWORKAROUND_ODF_BUGS
if ( !background() ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic