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:
Svetlana Kulikova
2025-06-16 13:48:36 +03:00
parent 502312fe20
commit 5b9141ce1d
2 changed files with 5 additions and 0 deletions

View File

@ -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()))

View File

@ -456,6 +456,7 @@ namespace PdfWriter
Remove("FT");
Remove("Ff");
Remove("V");
Remove("AA");
}
void CFieldBase::SetFieldHint(const std::wstring& wsHint)
{