/external/pdfium/fpdfsdk/src/ |
D | fsdk_annothandler.cpp | 60 CPDFSDK_Annot* CPDFSDK_AnnotHandlerMgr::NewAnnot(CPDF_Annot* pAnnot, in NewAnnot() argument 65 GetAnnotHandler(pAnnot->GetSubType())) { in NewAnnot() 66 return pAnnotHandler->NewAnnot(pAnnot, pPageView); in NewAnnot() 69 return new CPDFSDK_BAAnnot(pAnnot, pPageView); in NewAnnot() 73 CPDFSDK_Annot* CPDFSDK_AnnotHandlerMgr::NewAnnot(IXFA_Widget* pAnnot, in NewAnnot() argument 75 ASSERT(pAnnot != NULL); in NewAnnot() 80 return pAnnotHandler->NewAnnot(pAnnot, pPageView); in NewAnnot() 87 void CPDFSDK_AnnotHandlerMgr::ReleaseAnnot(CPDFSDK_Annot* pAnnot) { in ReleaseAnnot() argument 88 pAnnot->GetPDFPage(); in ReleaseAnnot() 90 if (IPDFSDK_AnnotHandler* pAnnotHandler = GetAnnotHandler(pAnnot)) { in ReleaseAnnot() [all …]
|
D | fsdk_mgr.cpp | 127 CPDFSDK_Annot* pAnnot = pFFL->GetSDKAnnot(); in OutputSelectedRect() local 128 UnderlyingPageType* pPage = pAnnot->GetUnderlyingPage(); in OutputSelectedRect() 518 CPDFSDK_Annot* pAnnot) { in UpdateAllViews() argument 522 pPageView->UpdateView(pAnnot); in UpdateAllViews() 531 FX_BOOL CPDFSDK_Document::SetFocusAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag) { in SetFocusAnnot() argument 535 if (m_pFocusAnnot == pAnnot) in SetFocusAnnot() 543 if (!pAnnot) in SetFocusAnnot() 549 CPDFSDK_PageView* pPageView = pAnnot->GetPageView(); in SetFocusAnnot() 554 if (!pAnnotHandler->Annot_OnChangeFocus(pAnnot, pLastFocusAnnot)) in SetFocusAnnot() 557 if (!pAnnotHandler->Annot_OnSetFocus(pAnnot, nFlag)) in SetFocusAnnot() [all …]
|
D | fsdk_baseform.cpp | 29 CPDFSDK_Widget::CPDFSDK_Widget(CPDF_Annot* pAnnot, in CPDFSDK_Widget() argument 32 : CPDFSDK_BAAnnot(pAnnot, pPageView), in CPDFSDK_Widget() 1978 CPDF_Annot* pAnnot = GetPDFAnnot(); local 1980 pAnnot->GetRect(annotRect); 1995 CPDFSDK_XFAWidget::CPDFSDK_XFAWidget(IXFA_Widget* pAnnot, argument 1998 : CPDFSDK_Annot(pPageView), m_pInterForm(pInterForm), m_hXFAWidget(pAnnot) { 2780 CPDFSDK_Annot* CBA_AnnotIterator::GetNextAnnot(CPDFSDK_Annot* pAnnot) { argument 2782 if (m_Annots[i] == pAnnot) 2788 CPDFSDK_Annot* CBA_AnnotIterator::GetPrevAnnot(CPDFSDK_Annot* pAnnot) { argument 2790 if (m_Annots[i] == pAnnot) [all …]
|
D | fpdfeditpage.cpp | 278 CPDF_Annot* pAnnot = AnnotList.GetAt(i); in FPDFPage_TransformAnnots() local 281 pAnnot->GetRect(rect); in FPDFPage_TransformAnnots() 286 pRectArray = pAnnot->GetAnnotDict()->GetArray("Rect"); in FPDFPage_TransformAnnots() 293 pAnnot->GetAnnotDict()->SetAt("Rect", pRectArray); in FPDFPage_TransformAnnots()
|
/external/pdfium/fpdfsdk/include/ |
D | fsdk_annothandler.h | 36 virtual FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) = 0; 38 virtual CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, 46 virtual void ReleaseAnnot(CPDFSDK_Annot* pAnnot) = 0; 48 virtual void DeleteAnnot(CPDFSDK_Annot* pAnnot) = 0; 51 CPDFSDK_Annot* pAnnot) = 0; 54 CPDFSDK_Annot* pAnnot, 58 CPDFSDK_Annot* pAnnot, 64 CPDFSDK_Annot* pAnnot, 70 virtual void OnCreate(CPDFSDK_Annot* pAnnot) = 0; 72 virtual void OnLoad(CPDFSDK_Annot* pAnnot) = 0; [all …]
|
D | fsdk_baseform.h | 95 CPDFSDK_Widget(CPDF_Annot* pAnnot, 229 CPDFSDK_XFAWidget(IXFA_Widget* pAnnot, 391 CPDFSDK_Annot* GetNextAnnot(CPDFSDK_Annot* pAnnot); 392 CPDFSDK_Annot* GetPrevAnnot(CPDFSDK_Annot* pAnnot); 398 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot);
|
/external/pdfium/fpdfsdk/src/formfiller/ |
D | FFL_IFormFiller.cpp | 31 CPDFSDK_Annot* pAnnot, in Annot_HitTest() argument 33 CPDF_Rect rc = pAnnot->GetRect(); in Annot_HitTest() 40 CPDFSDK_Annot* pAnnot) { in GetViewBBox() argument 41 if (CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot, FALSE)) in GetViewBBox() 42 return pFormFiller->GetViewBBox(pPageView, pAnnot); in GetViewBBox() 46 CPDF_Annot* pPDFAnnot = pAnnot->GetPDFAnnot(); in GetViewBBox() 55 CPDFSDK_Annot* pAnnot, in OnDraw() argument 60 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; in OnDraw() 63 if (CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot, FALSE)) { in OnDraw() 65 pFormFiller->OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags); in OnDraw() [all …]
|
D | FFL_FormFiller.cpp | 21 CPDFSDK_Annot* pAnnot) in CFFL_FormFiller() argument 22 : m_pApp(pApp), m_pAnnot(pAnnot), m_bValid(FALSE), m_ptOldPos(0, 0) { in CFFL_FormFiller() 23 m_pWidget = (CPDFSDK_Widget*)pAnnot; in CFFL_FormFiller() 54 CPDFSDK_Annot* pAnnot) { in GetViewBBox() argument 56 ASSERT(pAnnot); in GetViewBBox() 77 CPDFSDK_Annot* pAnnot, in OnDraw() argument 81 ASSERT(pAnnot->GetPDFAnnot()->GetSubType() == "Widget"); in OnDraw() 88 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; in OnDraw() 95 CPDFSDK_Annot* pAnnot, in OnDrawDeactive() argument 99 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; in OnDrawDeactive() [all …]
|
D | FFL_PushButton.cpp | 13 CPDFSDK_Annot* pAnnot) in CFFL_PushButton() argument 14 : CFFL_Button(pApp, pAnnot) {} in CFFL_PushButton() 26 FX_BOOL CFFL_PushButton::OnChar(CPDFSDK_Annot* pAnnot, in OnChar() argument 29 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags); in OnChar() 33 CPDFSDK_Annot* pAnnot, in OnDraw() argument 37 CFFL_Button::OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags); in OnDraw()
|
D | FFL_CheckBox.cpp | 27 FX_BOOL CFFL_CheckBox::OnKeyDown(CPDFSDK_Annot* pAnnot, in OnKeyDown() argument 35 return CFFL_FormFiller::OnKeyDown(pAnnot, nKeyCode, nFlags); in OnKeyDown() 38 FX_BOOL CFFL_CheckBox::OnChar(CPDFSDK_Annot* pAnnot, in OnChar() argument 47 CPDFSDK_PageView* pPageView = pAnnot->GetPageView(); in OnChar() 60 CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags); in OnChar() 69 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags); in OnChar() 74 CPDFSDK_Annot* pAnnot, in OnLButtonUp() argument 77 CFFL_Button::OnLButtonUp(pPageView, pAnnot, nFlags, point); in OnLButtonUp() 81 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; in OnLButtonUp()
|
D | FFL_RadioButton.cpp | 29 FX_BOOL CFFL_RadioButton::OnKeyDown(CPDFSDK_Annot* pAnnot, in OnKeyDown() argument 37 return CFFL_FormFiller::OnKeyDown(pAnnot, nKeyCode, nFlags); in OnKeyDown() 41 FX_BOOL CFFL_RadioButton::OnChar(CPDFSDK_Annot* pAnnot, in OnChar() argument 48 CPDFSDK_PageView* pPageView = pAnnot->GetPageView(); in OnChar() 61 CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags); in OnChar() 70 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags); in OnChar() 75 CPDFSDK_Annot* pAnnot, in OnLButtonUp() argument 78 CFFL_Button::OnLButtonUp(pPageView, pAnnot, nFlags, point); in OnLButtonUp()
|
D | FFL_TextField.cpp | 13 CFFL_TextField::CFFL_TextField(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot) in CFFL_TextField() argument 14 : CFFL_FormFiller(pApp, pAnnot), m_pFontMap(NULL) { in CFFL_TextField() 106 FX_BOOL CFFL_TextField::OnChar(CPDFSDK_Annot* pAnnot, in OnChar() argument 115 CPDF_Rect rcAnnot = pAnnot->GetRect(); in OnChar() 116 m_pApp->FFI_Invalidate(pAnnot->GetUnderlyingPage(), rcAnnot.left, in OnChar() 139 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags); in OnChar()
|
D | FFL_ComboBox.cpp | 16 CFFL_ComboBox::CFFL_ComboBox(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot) in CFFL_ComboBox() argument 17 : CFFL_FormFiller(pApp, pAnnot), m_pFontMap(NULL) { in CFFL_ComboBox() 70 FX_BOOL CFFL_ComboBox::OnChar(CPDFSDK_Annot* pAnnot, in OnChar() argument 73 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags); in OnChar()
|
D | FFL_CBA_Fontmap.cpp | 12 CBA_FontMap::CBA_FontMap(CPDFSDK_Annot* pAnnot, in CBA_FontMap() argument 19 CPDF_Page* pPage = pAnnot->GetPDFPage(); in CBA_FontMap() 22 m_pAnnotDict = pAnnot->GetPDFAnnot()->GetAnnotDict(); in CBA_FontMap()
|
D | FFL_ListBox.cpp | 86 FX_BOOL CFFL_ListBox::OnChar(CPDFSDK_Annot* pAnnot, in OnChar() argument 89 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags); in OnChar()
|
/external/pdfium/fpdfsdk/include/formfiller/ |
D | FFL_FormFiller.h | 22 CFFL_FormFiller(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot); 26 CPDFSDK_Annot* pAnnot); 28 CPDFSDK_Annot* pAnnot, 33 CPDFSDK_Annot* pAnnot, 38 virtual void OnCreate(CPDFSDK_Annot* pAnnot); 39 virtual void OnLoad(CPDFSDK_Annot* pAnnot); 40 virtual void OnDelete(CPDFSDK_Annot* pAnnot); 42 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot); 43 virtual void OnMouseExit(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot); 46 CPDFSDK_Annot* pAnnot, [all …]
|
D | FFL_IFormFiller.h | 28 CPDFSDK_Annot* pAnnot, 31 CPDFSDK_Annot* pAnnot); 33 CPDFSDK_Annot* pAnnot, 38 virtual void OnCreate(CPDFSDK_Annot* pAnnot); 39 virtual void OnLoad(CPDFSDK_Annot* pAnnot); 40 virtual void OnDelete(CPDFSDK_Annot* pAnnot); 43 CPDFSDK_Annot* pAnnot, 46 CPDFSDK_Annot* pAnnot, 50 CPDFSDK_Annot* pAnnot, 54 CPDFSDK_Annot* pAnnot, [all …]
|
D | FFL_RadioButton.h | 14 CFFL_RadioButton(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot); 20 FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot, 23 FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags) override; 25 CPDFSDK_Annot* pAnnot,
|
D | FFL_PushButton.h | 14 CFFL_PushButton(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot); 20 FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags) override; 22 CPDFSDK_Annot* pAnnot,
|
D | FFL_CheckBox.h | 20 FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot, 23 FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags) override; 25 CPDFSDK_Annot* pAnnot,
|
D | FFL_TextField.h | 28 CFFL_TextField(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot); 35 FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags) override;
|
D | FFL_CBA_Fontmap.h | 17 CBA_FontMap(CPDFSDK_Annot* pAnnot, IFX_SystemHandler* pSystemHandler);
|
D | FFL_ListBox.h | 25 FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags) override;
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_link.cpp | 41 CPDF_Dictionary* pAnnot = (*pPageLinkList)[annot_index]; in GetLinkAtPoint() local 42 if (!pAnnot) in GetLinkAtPoint() 45 CPDF_Link link(pAnnot); in GetLinkAtPoint() 64 CPDF_Dictionary* pAnnot = pAnnotList->GetDict(i); in LoadPageLinks() local 65 bool add_link = (pAnnot && pAnnot->GetString("Subtype") == "Link"); in LoadPageLinks() 67 pList->push_back(add_link ? pAnnot : nullptr); in LoadPageLinks()
|
D | doc_annot.cpp | 56 for (CPDF_Annot* pAnnot : m_AnnotList) { in DisplayPass() 57 FX_BOOL bWidget = pAnnot->GetSubType() == "Widget"; in DisplayPass() 61 FX_DWORD annot_flags = pAnnot->GetFlags(); in DisplayPass() 73 CPDF_Dictionary* pAnnotDict = pAnnot->GetAnnotDict(); in DisplayPass() 80 pAnnot->GetRect(annot_rect_f); in DisplayPass() 91 pAnnot->DrawInContext(pPage, pContext, &matrix, CPDF_Annot::Normal); in DisplayPass() 92 } else if (!pAnnot->DrawAppearance(pPage, pDevice, &matrix, in DisplayPass() 94 pAnnot->DrawBorder(pDevice, &matrix, pOptions); in DisplayPass() 201 CPDF_Annot* pAnnot, in FPDFDOC_Annot_GetMatrix() argument 205 CPDF_Form* pForm = pAnnot->GetAPForm(pPage, mode); in FPDFDOC_Annot_GetMatrix() [all …]
|