mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix button R/D AP
This commit is contained in:
@ -4321,9 +4321,9 @@ void CPdfWriter::DrawButtonWidget(NSFonts::IApplicationFonts* pAppFonts, PdfWrit
|
||||
if (nAP == 0)
|
||||
wsValue = pButtonWidget->GetCA();
|
||||
else if (nAP == 1)
|
||||
wsValue = pButtonWidget->GetRC().empty() ? pButtonWidget->GetCA() : pButtonWidget->GetRC();
|
||||
wsValue = pButtonWidget->GetRC();
|
||||
else
|
||||
wsValue = pButtonWidget->GetAC().empty() ? pButtonWidget->GetCA() : pButtonWidget->GetAC();
|
||||
wsValue = pButtonWidget->GetAC();
|
||||
|
||||
if (!pButtonWidget->HaveBorder() && pButtonWidget->HaveBC())
|
||||
pButtonWidget->SetBorder(0, 1, {});
|
||||
|
||||
Reference in New Issue
Block a user