Kaydet (Commit) be62a97a authored tarafından Markus Mohrhard's avatar Markus Mohrhard

correct export for min and max databar length

Forgot the extLst entry during my earlier work. Now they are both in
sync again.

Change-Id: Ie97276fde2b9d956ad4a3e93072a6d6627c5b0bf
üst 847b4537
......@@ -123,6 +123,8 @@ XclExpExtDataBar::XclExpExtDataBar( const XclExpRoot& rRoot, const ScDataBarForm
meAxisPosition = rFormatData.meAxisPosition;
mbGradient = rFormatData.mbGradient;
mnMinLength = rFormatData.mnMinLength;
mnMaxLength = rFormatData.mnMaxLength;
}
namespace {
......@@ -147,8 +149,8 @@ void XclExpExtDataBar::SaveXml( XclExpXmlStream& rStrm )
{
sax_fastparser::FSHelperPtr& rWorksheet = rStrm.GetCurrentStream();
rWorksheet->startElementNS( XML_x14, XML_dataBar,
XML_minLength, OString::number(0).getStr(),
XML_maxLength, OString::number(100).getStr(),
XML_minLength, OString::number(mnMinLength).getStr(),
XML_maxLength, OString::number(mnMaxLength).getStr(),
XML_axisPosition, getAxisPosition(meAxisPosition),
XML_gradient, XclXmlUtils::ToPsz(mbGradient),
FSEND );
......
......@@ -78,6 +78,8 @@ public:
private:
databar::ScAxisPosition meAxisPosition;
bool mbGradient;
double mnMinLength;
double mnMaxLength;
std::unique_ptr<XclExpExtCfvo> mpLowerLimit;
std::unique_ptr<XclExpExtCfvo> mpUpperLimit;
......
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