HomeSort by relevance Sort by last modified time
    Searched refs:CPDF_Annot (Results 1 - 25 of 37) sorted by null

1 2

  /external/pdfium/core/fpdfdoc/
cpdf_annot.cpp 7 #include "core/fpdfdoc/cpdf_annot.h"
29 bool IsTextMarkupAnnotation(CPDF_Annot::Subtype type) {
30 return type == CPDF_Annot::Subtype::HIGHLIGHT ||
31 type == CPDF_Annot::Subtype::SQUIGGLY ||
32 type == CPDF_Annot::Subtype::STRIKEOUT ||
33 type == CPDF_Annot::Subtype::UNDERLINE;
42 return !CPDF_Annot::IsAnnotationHidden(pAnnotDict);
46 CPDF_Annot* pAnnot,
47 CPDF_Annot::AppearanceMode mode,
64 CPDF_Annot::CPDF_Annot(std::unique_ptr<CPDF_Dictionary> pDict
    [all...]
cpdf_annot.h 37 class CPDF_Annot {
72 static CPDF_Annot::Subtype StringToAnnotSubtype(
74 static CFX_ByteString AnnotSubtypeToString(CPDF_Annot::Subtype nSubtype);
78 CPDF_Annot(std::unique_ptr<CPDF_Dictionary> pDict, CPDF_Document* pDocument);
79 CPDF_Annot(CPDF_Dictionary* pDict, CPDF_Document* pDocument);
80 ~CPDF_Annot();
82 CPDF_Annot::Subtype GetSubtype() const;
104 CPDF_Annot* GetPopupAnnot() const { return m_pPopupAnnot; }
105 void SetPopupAnnot(CPDF_Annot* pAnnot) { m_pPopupAnnot = pAnnot; }
116 CPDF_Annot::Subtype m_nSubtype
    [all...]
cpdf_annotlist.h 17 class CPDF_Annot;
45 CPDF_Annot* GetAt(size_t index) const { return m_AnnotList[index].get(); }
46 const std::vector<std::unique_ptr<CPDF_Annot>>& All() const {
61 std::vector<std::unique_ptr<CPDF_Annot>> m_AnnotList;
cpdf_annotlist.cpp 19 #include "core/fpdfdoc/cpdf_annot.h"
28 std::unique_ptr<CPDF_Annot> CreatePopupAnnot(CPDF_Annot* pAnnot,
57 pdfium::MakeUnique<CPDF_Annot>(std::move(pAnnotDict), pDocument);
87 m_AnnotList.push_back(pdfium::MakeUnique<CPDF_Annot>(pDict, m_pDocument));
96 std::unique_ptr<CPDF_Annot> pPopupAnnot(
114 bool bWidget = pAnnot->GetSubtype() == CPDF_Annot::Subtype::WIDGET;
147 pAnnot->DrawInContext(pPage, pContext, &matrix, CPDF_Annot::Normal);
149 CPDF_Annot::Normal, pOptions)) {
  /external/pdfium/fpdfsdk/
cpdfsdk_baannot.h 12 #include "core/fpdfdoc/cpdf_annot.h"
27 CPDFSDK_BAAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView);
31 CPDF_Annot::Subtype GetAnnotSubtype() const override;
34 CPDF_Annot* GetPDFAnnot() const override;
40 CPDF_Annot* GetPDFPopupAnnot() const;
82 virtual bool IsAppearanceValid(CPDF_Annot::AppearanceMode mode);
85 CPDF_Annot::AppearanceMode mode,
103 CPDF_Annot* const m_pAnnot;
cpdfsdk_xfawidget.cpp 27 CPDF_Annot::Subtype CPDFSDK_XFAWidget::GetAnnotSubtype() const {
28 return CPDF_Annot::Subtype::XFAWIDGET;
fpdf_ext.cpp 14 #include "core/fpdfdoc/cpdf_annot.h"
49 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot) {
50 CPDF_Annot::Subtype nAnnotSubtype = pPDFAnnot->GetSubtype();
51 if (nAnnotSubtype == CPDF_Annot::Subtype::THREED) {
53 } else if (nAnnotSubtype == CPDF_Annot::Subtype::SCREEN) {
60 } else if (nAnnotSubtype == CPDF_Annot::Subtype::MOVIE) {
62 } else if (nAnnotSubtype == CPDF_Annot::Subtype::SOUND) {
64 } else if (nAnnotSubtype == CPDF_Annot::Subtype::RICHMEDIA) {
66 } else if (nAnnotSubtype == CPDF_Annot::Subtype::FILEATTACHMENT) {
68 } else if (nAnnotSubtype == CPDF_Annot::Subtype::WIDGET)
    [all...]
cba_annotiterator.h 12 #include "core/fpdfdoc/cpdf_annot.h"
24 CPDF_Annot::Subtype nAnnotSubtype);
41 CPDF_Annot::Subtype m_nAnnotSubtype;
cpdfsdk_annot.h 11 #include "core/fpdfdoc/cpdf_annot.h"
38 virtual CPDF_Annot* GetPDFAnnot() const;
39 virtual CPDF_Annot::Subtype GetAnnotSubtype() const;
cpdfsdk_xfawidget.h 27 CPDF_Annot::Subtype GetAnnotSubtype() const override;
cpdfsdk_annot.cpp 58 CPDF_Annot* CPDFSDK_Annot::GetPDFAnnot() const {
62 CPDF_Annot::Subtype CPDFSDK_Annot::GetAnnotSubtype() const {
63 return CPDF_Annot::Subtype::UNKNOWN;
fsdk_define.h 23 class CPDF_Annot;
79 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot);
cpdfsdk_baannothandler.cpp 29 if (CPDF_Annot* pPopupAnnot = pBAAnnot->GetPDFPopupAnnot())
49 CPDFSDK_Annot* CPDFSDK_BAAnnotHandler::NewAnnot(CPDF_Annot* pAnnot,
74 if (bDrawAnnots && pAnnot->GetAnnotSubtype() == CPDF_Annot::Subtype::POPUP) {
76 pDevice, pUser2Device, CPDF_Annot::Normal, nullptr);
cpdfsdk_widget.h 14 #include "core/fpdfdoc/cpdf_annot.h"
22 class CPDF_Annot;
62 CPDFSDK_Widget(CPDF_Annot* pAnnot,
135 bool IsWidgetAppearanceValid(CPDF_Annot::AppearanceMode mode);
138 CPDF_Annot::AppearanceMode mode,
cpdfsdk_baannot.cpp 23 CPDFSDK_BAAnnot::CPDFSDK_BAAnnot(CPDF_Annot* pAnnot,
29 CPDF_Annot* CPDFSDK_BAAnnot::GetPDFAnnot() const {
33 CPDF_Annot* CPDFSDK_BAAnnot::GetPDFPopupAnnot() const {
52 CPDF_Annot::Subtype CPDFSDK_BAAnnot::GetAnnotSubtype() const {
58 CPDF_Annot::AppearanceMode mode,
68 bool CPDFSDK_BAAnnot::IsAppearanceValid(CPDF_Annot::AppearanceMode mode) {
75 if (mode == CPDF_Annot::Down)
77 else if (mode == CPDF_Annot::Rollover)
392 m_pAnnot->GetAPForm(m_pPageView->GetPDFPage(), CPDF_Annot::Normal);
394 CPDF_Annot::Normal, nullptr)
    [all...]
cpdfsdk_annothandlermgr.cpp 11 #include "core/fpdfdoc/cpdf_annot.h"
41 CPDFSDK_Annot* CPDFSDK_AnnotHandlerMgr::NewAnnot(CPDF_Annot* pAnnot,
53 return GetAnnotHandler(CPDF_Annot::Subtype::XFAWIDGET)
64 CPDF_Annot* pPDFAnnot = pAnnot->GetPDFAnnot();
83 CPDF_Annot::Subtype nAnnotSubtype) const {
84 if (nAnnotSubtype == CPDF_Annot::Subtype::WIDGET)
88 if (nAnnotSubtype == CPDF_Annot::Subtype::XFAWIDGET)
249 GetAnnotHandler(CPDF_Annot::Subtype::XFAWIDGET))
306 CBA_AnnotIterator ai(pSDKAnnot->GetPageView(), CPDF_Annot::Subtype::WIDGET);
fsdk_baseform_embeddertest.cpp 48 CPDF_Annot::Subtype::WIDGET);
74 CPDF_Annot::Subtype::WIDGET);
100 CPDF_Annot::Subtype::WIDGET);
cpdfsdk_annothandlermgr.h 13 #include "core/fpdfdoc/cpdf_annot.h"
36 CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView);
106 IPDFSDK_AnnotHandler* GetAnnotHandler(CPDF_Annot::Subtype nSubtype) const;
cpdfsdk_baannothandler.h 17 class CPDF_Annot;
32 CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPage) override;
ipdfsdk_annothandler.h 16 class CPDF_Annot;
28 virtual CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot,
cpdfsdk_pageview.cpp 137 if (pSDKAnnot->GetAnnotSubtype() == CPDF_Annot::Subtype::POPUP)
149 bool bHitTest = pSDKAnnot->GetAnnotSubtype() == CPDF_Annot::Subtype::WIDGET;
152 pSDKAnnot->GetAnnotSubtype() == CPDF_Annot::Subtype::XFAWIDGET;
421 CPDF_Annot* pPDFAnnot = m_pAnnotList->GetAt(i);
465 bool CPDFSDK_PageView::IsValidAnnot(const CPDF_Annot* p) const {
471 [p](const std::unique_ptr<CPDF_Annot>& annot) {
cpdfsdk_widgethandler.h 17 class CPDF_Annot;
32 CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPage) override;
  /external/pdfium/fpdfsdk/javascript/
Annot.cpp 46 CPDF_Annot* pPDFAnnot = ToBAAnnot(m_pAnnot.Get())->GetPDFAnnot();
47 vp << CPDF_Annot::IsAnnotationHidden(pPDFAnnot->GetAnnotDict());
108 vp << CPDF_Annot::AnnotSubtypeToString(
  /external/pdfium/fpdfsdk/formfiller/
cffl_formfiller.cpp 88 ASSERT(pAnnot->GetPDFAnnot()->GetSubtype() == CPDF_Annot::Subtype::WIDGET);
97 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal,
107 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, nullptr);
660 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, nullptr);
665 if (pWidget->IsWidgetAppearanceValid(CPDF_Annot::Down))
666 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Down, nullptr);
668 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal,
671 if (pWidget->IsWidgetAppearanceValid(CPDF_Annot::Rollover))
672 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Rollover,
675 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal
    [all...]
cffl_interactiveformfiller.cpp 48 CPDF_Annot* pPDFAnnot = pAnnot->GetPDFAnnot();
99 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, nullptr);
114 ASSERT((*pAnnot)->GetPDFAnnot()->GetSubtype() == CPDF_Annot::Subtype::WIDGET);
147 ASSERT((*pAnnot)->GetPDFAnnot()->GetSubtype() == CPDF_Annot::Subtype::WIDGET);
183 ASSERT((*pAnnot)->GetPDFAnnot()->GetSubtype() == CPDF_Annot::Subtype::WIDGET);
224 ASSERT((*pAnnot)->GetPDFAnnot()->GetSubtype() == CPDF_Annot::Subtype::WIDGET);
298 ASSERT((*pAnnot)->GetPDFAnnot()->GetSubtype() == CPDF_Annot::Subtype::WIDGET);
308 ASSERT((*pAnnot)->GetPDFAnnot()->GetSubtype() == CPDF_Annot::Subtype::WIDGET);
320 ASSERT((*pAnnot)->GetPDFAnnot()->GetSubtype() == CPDF_Annot::Subtype::WIDGET);
332 ASSERT((*pAnnot)->GetPDFAnnot()->GetSubtype() == CPDF_Annot::Subtype::WIDGET)
    [all...]

Completed in 288 milliseconds

1 2