open/save docx tblCaption,tblDescription and xlsx altText, altTextSummary

This commit is contained in:
konovalovsergey
2017-01-20 13:49:03 +03:00
parent dac6ae2e48
commit 69e8a6501e
11 changed files with 175 additions and 4 deletions

View File

@ -288,7 +288,9 @@ extern int g_nCurFormatVersion;
tblPrChange = 13,
TableCellSpacing = 14,
RowBandSize = 15,
ColBandSize = 16
ColBandSize = 16,
tblCaption = 17,
tblDescription = 18
};}
namespace c_oSer_tblpPrType{enum c_oSer_tblpPrType
{

View File

@ -1846,6 +1846,16 @@ namespace BinDocxRW
m_oBcw.WriteItemEnd(nCurPos);
}
}
if(tblPr.m_oTblCaption.IsInit())
{
m_oBcw.m_oStream.WriteBYTE(c_oSerProp_tblPrType::tblCaption);
m_oBcw.m_oStream.WriteStringW(tblPr.m_oTblCaption->ToString2());
}
if(tblPr.m_oTblDescription.IsInit())
{
m_oBcw.m_oStream.WriteBYTE(c_oSerProp_tblPrType::tblDescription);
m_oBcw.m_oStream.WriteStringW(tblPr.m_oTblDescription->ToString2());
}
}
void WriteTblMar(const OOX::Logic::CTblCellMar& cellMar)
{