| Index: fpdfsdk/fsdk_annothandler.cpp
|
| diff --git a/fpdfsdk/fsdk_annothandler.cpp b/fpdfsdk/fsdk_annothandler.cpp
|
| index db2d20b2bfb5dee865b2eed58957c3a6901ab044..966587e57a963240472e15a3621a52dc4af85c9a 100644
|
| --- a/fpdfsdk/fsdk_annothandler.cpp
|
| +++ b/fpdfsdk/fsdk_annothandler.cpp
|
| @@ -378,9 +378,9 @@ CPDFSDK_Annot* CPDFSDK_AnnotHandlerMgr::GetNextAnnot(CPDFSDK_Annot* pSDKAnnot,
|
| // for xfa annots
|
| std::unique_ptr<IXFA_WidgetIterator> pWidgetIterator(
|
| pPage->GetXFAPageView()->CreateWidgetIterator(
|
| - XFA_TRAVERSEWAY_Tranvalse, XFA_WIDGETFILTER_Visible |
|
| - XFA_WIDGETFILTER_Viewable |
|
| - XFA_WIDGETFILTER_Field));
|
| + XFA_TRAVERSEWAY_Tranvalse, XFA_WidgetStatus_Visible |
|
| + XFA_WidgetStatus_Viewable |
|
| + XFA_WidgetStatus_Focused));
|
| if (!pWidgetIterator)
|
| return nullptr;
|
| if (pWidgetIterator->GetCurrentWidget() != pSDKAnnot->GetXFAWidget())
|
| @@ -780,7 +780,7 @@ CFX_FloatRect CPDFSDK_XFAAnnotHandler::GetViewBBox(CPDFSDK_PageView* pPageView,
|
| CFX_RectF rcBBox;
|
| XFA_ELEMENT eType = pAnnot->GetXFAWidget()->GetDataAcc()->GetUIType();
|
| if (eType == XFA_ELEMENT_Signature)
|
| - pAnnot->GetXFAWidget()->GetBBox(rcBBox, XFA_WIDGETSTATUS_Visible, TRUE);
|
| + pAnnot->GetXFAWidget()->GetBBox(rcBBox, XFA_WidgetStatus_Visible, TRUE);
|
| else
|
| pAnnot->GetXFAWidget()->GetBBox(rcBBox, 0);
|
|
|
|
|