Adding parsing of hwpx format elements

This commit is contained in:
Green
2025-01-17 02:42:21 +03:00
parent 43f1ac0596
commit b78e2cb33c
23 changed files with 719 additions and 266 deletions

View File

@ -60,6 +60,19 @@ bool CHwpFileHeader::Parse(CHWPStream& oBuffer)
return true;
}
bool CHwpFileHeader::Parse(CXMLNode& oNode)
{
if (!oNode.IsValid())
return false;
m_sVersion += oNode.GetAttribute(L"major");
m_sVersion += oNode.GetAttribute(L"minor");
m_sVersion += oNode.GetAttribute(L"micro");
m_sVersion += oNode.GetAttribute(L"buildNumber");
return true;
}
bool CHwpFileHeader::Compressed() const
{
return m_bCompressed;