Commit 867c09c8 authored by Sergey Konovalov's avatar Sergey Konovalov

x14:conditionalFormatting DxfId starts from 0

parent cd12777c
......@@ -163,8 +163,9 @@ namespace OOX
if (!m_pStyles->m_oDxfs.IsInit())
m_pStyles->m_oDxfs.Init();
m_pStyles->m_oDxfs->m_arrItems.push_back(rule->m_oDxf.GetPointerEmptyNullable());
//DxfId starts from 0
rule->m_oDxfId = std::to_wstring(m_pStyles->m_oDxfs->m_arrItems.size());
m_pStyles->m_oDxfs->m_arrItems.push_back(rule->m_oDxf.GetPointerEmptyNullable());
}
}
}
......
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