mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
fix bug #76076
This commit is contained in:
@ -814,7 +814,10 @@ namespace OOX
|
||||
if(m_oRowBreaks.IsInit())
|
||||
m_oRowBreaks->toXML(writer);
|
||||
if(m_oColBreaks.IsInit())
|
||||
{
|
||||
m_oColBreaks->m_fRowBreak = false;
|
||||
m_oColBreaks->toXML(writer);
|
||||
}
|
||||
if (m_oCellWatches.IsInit())
|
||||
m_oCellWatches->toXML(writer);
|
||||
if(m_oDrawing.IsInit())
|
||||
|
||||
@ -3193,7 +3193,10 @@ namespace OOX
|
||||
}
|
||||
void CRowColBreaks::toXML(NSStringUtils::CStringBuilder& writer) const
|
||||
{
|
||||
toXML2(writer, L"rowBreaks");
|
||||
if(m_fRowBreak)
|
||||
toXML2(writer, L"rowBreaks");
|
||||
else
|
||||
toXML2(writer, L"colBreaks");
|
||||
}
|
||||
void CRowColBreaks::toXML2(NSStringUtils::CStringBuilder& writer, const std::wstring& sName) const
|
||||
{
|
||||
|
||||
@ -754,6 +754,8 @@ namespace OOX
|
||||
public:
|
||||
nullable<SimpleTypes::CUnsignedDecimalNumber> m_oCount;
|
||||
nullable<SimpleTypes::CUnsignedDecimalNumber> m_oManualBreakCount;
|
||||
|
||||
bool m_fRowBreak = true;
|
||||
};
|
||||
|
||||
class CSheetProtection : public WritingElement
|
||||
|
||||
Reference in New Issue
Block a user