mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix bug 66505
In pdf, child field actions become parent - this applies to date format, text field format and placeholder
This commit is contained in:
@ -1346,6 +1346,10 @@ namespace PdfWriter
|
||||
if (pV && pV->GetType() == object_type_STRING)
|
||||
pParent->Add("V", pV->Copy());
|
||||
|
||||
CObjectBase* pAA = pBase->Get("AA");
|
||||
if (pAA)
|
||||
pParent->Add("AA", pAA->Copy());
|
||||
|
||||
CTextField* pTextField = dynamic_cast<CTextField*>(pBase);
|
||||
int nMaxLen = 0;
|
||||
if (pTextField && 0 != (nMaxLen = pTextField->GetMaxLen()))
|
||||
|
||||
@ -456,6 +456,7 @@ namespace PdfWriter
|
||||
Remove("FT");
|
||||
Remove("Ff");
|
||||
Remove("V");
|
||||
Remove("AA");
|
||||
}
|
||||
void CFieldBase::SetFieldHint(const std::wstring& wsHint)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user