Add ID with MetaOForm

This commit is contained in:
Svetlana Kulikova
2024-02-15 13:11:19 +03:00
parent 62481e5def
commit b9a11bc30d
4 changed files with 27 additions and 20 deletions

View File

@ -179,6 +179,12 @@ namespace PdfWriter
m_nLengthBegin = 0;
m_nLengthEnd = 0;
}
void CStreamData::SetID(CBinaryObject* pID)
{
if (!pID)
return;
Add("ID", pID);
}
bool CStreamData::AddMetaData(const std::wstring& sMetaName, BYTE* pMetaData, DWORD nMetaLength)
{
if (sMetaName == L"Length")