mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Redirect to annotation rendering
This commit is contained in:
@ -651,14 +651,18 @@ namespace PdfWriter
|
||||
}
|
||||
}
|
||||
}
|
||||
void CDictObject::SetStream(CXref* pXref, CStream* pStream, bool bThis)
|
||||
void CDictObject::SetStream(CStream* pStream)
|
||||
{
|
||||
m_pStream = pStream;
|
||||
}
|
||||
void CDictObject::SetStream(CXref* pXref, CStream* pStream, bool bThis, int nLength)
|
||||
{
|
||||
if (m_pStream)
|
||||
delete m_pStream;
|
||||
|
||||
if (!Get("Length"))
|
||||
{
|
||||
CNumberObject* pLength = new CNumberObject(0);
|
||||
CNumberObject* pLength = new CNumberObject(nLength);
|
||||
|
||||
// Только stream object добавляются в таблицу xref автоматически
|
||||
if (bThis)
|
||||
|
||||
Reference in New Issue
Block a user