mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
PDF Write TU for parent field
This commit is contained in:
@ -2896,6 +2896,8 @@ HRESULT CPdfWriter::EditWidgetParents(NSFonts::IApplicationFonts* pAppFonts, CWi
|
|||||||
}
|
}
|
||||||
if (nFlags & (1 << 9))
|
if (nFlags & (1 << 9))
|
||||||
pParentObj->Add("MaxLen", pParent->nMaxLen);
|
pParentObj->Add("MaxLen", pParent->nMaxLen);
|
||||||
|
if (nFlags & (1 << 10))
|
||||||
|
pParentObj->Add("TU", new PdfWriter::CStringObject((U_TO_UTF8(pParent->sTU)).c_str(), true));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<std::wstring> arrBI = pFieldInfo->GetButtonImg();
|
std::vector<std::wstring> arrBI = pFieldInfo->GetButtonImg();
|
||||||
|
|||||||
Reference in New Issue
Block a user