Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdfsdk_baannot.h>
Protected Member Functions | |
const CPDF_Dictionary * | GetAnnotDict () const |
RetainPtr< CPDF_Dictionary > | GetMutableAnnotDict () |
RetainPtr< CPDF_Dictionary > | GetAPDict () |
void | ClearCachedAnnotAP () |
bool | IsFocusableAnnot (const CPDF_Annot::Subtype &annot_type) const |
Protected Member Functions inherited from CPDFSDK_Annot | |
CPDFSDK_Annot (CPDFSDK_PageView *pPageView) | |
Protected Member Functions inherited from fxcrt::Observable | |
size_t | ActiveObserversForTesting () const |
Private Member Functions | |
void | OnMouseEnter (Mask< FWL_EVENTFLAG > nFlags) override |
void | OnMouseExit (Mask< FWL_EVENTFLAG > nFlags) override |
bool | OnLButtonDown (Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point) override |
bool | OnLButtonUp (Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point) override |
bool | OnLButtonDblClk (Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point) override |
bool | OnMouseMove (Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point) override |
bool | OnMouseWheel (Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point, const CFX_Vector &delta) override |
bool | OnRButtonDown (Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point) override |
bool | OnRButtonUp (Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point) override |
bool | OnChar (uint32_t nChar, Mask< FWL_EVENTFLAG > nFlags) override |
bool | OnKeyDown (FWL_VKEYCODE nKeyCode, Mask< FWL_EVENTFLAG > nFlags) override |
bool | OnSetFocus (Mask< FWL_EVENTFLAG > nFlags) override |
bool | OnKillFocus (Mask< FWL_EVENTFLAG > nFlags) override |
Definition at line 23 of file cpdfsdk_baannot.h.
CPDFSDK_BAAnnot::CPDFSDK_BAAnnot | ( | CPDF_Annot * | pAnnot, |
CPDFSDK_PageView * | pPageView ) |
Definition at line 30 of file cpdfsdk_baannot.cpp.
References CPDFSDK_Annot::CPDFSDK_Annot(), and CPDFSDK_BAAnnot().
Referenced by CPDFSDK_BAAnnot(), and CPDFSDK_Widget::CPDFSDK_Widget().
|
overridedefault |
|
overridevirtual |
Reimplemented from CPDFSDK_Annot.
Definition at line 36 of file cpdfsdk_baannot.cpp.
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 384 of file cpdfsdk_baannot.cpp.
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 380 of file cpdfsdk_baannot.cpp.
|
protected |
Definition at line 60 of file cpdfsdk_baannot.cpp.
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 285 of file cpdfsdk_baannot.cpp.
|
virtual |
Reimplemented in CPDFSDK_Widget.
Definition at line 78 of file cpdfsdk_baannot.cpp.
Referenced by CPDFSDK_Widget::DrawAppearance(), and OnDraw().
CPDF_AAction CPDFSDK_BAAnnot::GetAAction | ( | ) | const |
Definition at line 208 of file cpdfsdk_baannot.cpp.
References GetAnnotDict(), CPDF_Dictionary::GetDictFor(), and pdfium::form_fields::kAA.
Referenced by GetAAction().
|
virtual |
Reimplemented in CPDFSDK_Widget.
Definition at line 212 of file cpdfsdk_baannot.cpp.
References CPDF_AAction::ActionExist(), GetAAction(), CPDF_AAction::GetAction(), GetAction(), CPDF_AAction::kButtonUp, and CPDF_AAction::kKeyStroke.
Referenced by OnKeyDown().
CPDF_Action CPDFSDK_BAAnnot::GetAction | ( | ) | const |
Definition at line 204 of file cpdfsdk_baannot.cpp.
References GetAnnotDict(), and CPDF_Dictionary::GetDictFor().
Referenced by GetAAction().
|
protected |
Definition at line 48 of file cpdfsdk_baannot.cpp.
Referenced by GetAAction(), GetAction(), GetAnnotName(), GetAppState(), GetDestination(), GetFlags(), CPDFSDK_Widget::GetFormControl(), and IsAppearanceValid().
WideString CPDFSDK_BAAnnot::GetAnnotName | ( | ) | const |
Definition at line 98 of file cpdfsdk_baannot.cpp.
References GetAnnotDict(), CPDF_Dictionary::GetUnicodeTextFor(), and pdfium::annotation::kNM.
|
overridevirtual |
Implements CPDFSDK_Annot.
Definition at line 74 of file cpdfsdk_baannot.cpp.
Referenced by CPWLSpecialButtonEmbedderTest::CreateAndInitializeFormPDF(), OnDraw(), OnKeyDown(), OnKillFocus(), and OnSetFocus().
|
protected |
Definition at line 56 of file cpdfsdk_baannot.cpp.
ByteString CPDFSDK_BAAnnot::GetAppState | ( | ) | const |
Definition at line 116 of file cpdfsdk_baannot.cpp.
References GetAnnotDict(), CPDF_Dictionary::GetByteStringFor(), and pdfium::annotation::kAS.
Referenced by CPDFSDK_Widget::IsWidgetAppearanceValid().
BorderStyle CPDFSDK_BAAnnot::GetBorderStyle | ( | ) | const |
Definition at line 168 of file cpdfsdk_baannot.cpp.
References kBeveled, kDash, kInset, kSolid, kUnderline, and fxcrt::ByteString::operator==().
Referenced by CPDFSDK_Widget::GetClientRect().
int CPDFSDK_BAAnnot::GetBorderWidth | ( | ) | const |
Definition at line 131 of file cpdfsdk_baannot.cpp.
Referenced by CPDFSDK_Widget::GetClientRect().
CPDF_Dest CPDFSDK_BAAnnot::GetDestination | ( | ) | const |
Definition at line 420 of file cpdfsdk_baannot.cpp.
References CPDF_Dest::Create(), GetAnnotDict(), CPDF_Dictionary::GetDirectObjectFor(), and CPDFSDK_Annot::GetPageView().
Referenced by OnKeyDown().
uint32_t CPDFSDK_BAAnnot::GetFlags | ( | ) | const |
Definition at line 107 of file cpdfsdk_baannot.cpp.
References GetAnnotDict(), CPDF_Dictionary::GetIntegerFor(), and pdfium::annotation::kF.
Referenced by IsVisible().
|
overridevirtual |
Reimplemented from CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 253 of file cpdfsdk_baannot.cpp.
References CPDFSDK_Annot::GetLayoutOrder().
|
protected |
Definition at line 52 of file cpdfsdk_baannot.cpp.
Referenced by CPDFSDK_Widget::SetRect().
|
overridevirtual |
Reimplemented from CPDFSDK_Annot.
Definition at line 44 of file cpdfsdk_baannot.cpp.
Referenced by CFFL_InteractiveFormFiller::GetViewBBox(), CFFL_InteractiveFormFiller::IsValidAnnot(), CPDFSDK_Widget::OnKillFocus(), and CPDFSDK_Widget::OnSetFocus().
|
overridevirtual |
Implements CPDFSDK_Annot.
Definition at line 70 of file cpdfsdk_baannot.cpp.
Referenced by CFFL_InteractiveFormFiller::Annot_HitTest(), CPDFSDK_Widget::DrawAppearance(), CPDFSDK_Widget::DrawShadow(), CPDFSDK_Widget::GetMatrix(), CPDFSDK_Widget::GetRotatedRect(), GetViewBBox(), CFFL_Button::OnLButtonDown(), CFFL_Button::OnLButtonUp(), and CFFL_InteractiveFormFiller::QueryWherePopup().
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 400 of file cpdfsdk_baannot.cpp.
References fxcrt::WideString::WideString().
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 396 of file cpdfsdk_baannot.cpp.
References fxcrt::WideString::WideString().
|
overridevirtual |
Implements CPDFSDK_Annot.
Definition at line 40 of file cpdfsdk_baannot.cpp.
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 289 of file cpdfsdk_baannot.cpp.
References GetRect().
Referenced by OnDraw().
|
virtual |
Reimplemented in CPDFSDK_Widget.
Definition at line 85 of file cpdfsdk_baannot.cpp.
References GetAnnotDict(), CPDF_Dictionary::GetDictFor(), and pdfium::annotation::kAP.
Referenced by CPDFSDK_Widget::IsAppearanceValid().
|
protected |
Definition at line 64 of file cpdfsdk_baannot.cpp.
References CPDFSDK_Annot::GetPageView().
Referenced by OnDraw(), OnKillFocus(), CPDFSDK_Widget::OnKillFocus(), OnSetFocus(), and CPDFSDK_Widget::OnSetFocus().
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 416 of file cpdfsdk_baannot.cpp.
bool CPDFSDK_BAAnnot::IsVisible | ( | ) | const |
Definition at line 197 of file cpdfsdk_baannot.cpp.
References GetFlags(), pdfium::annotation_flags::kHidden, pdfium::annotation_flags::kInvisible, and pdfium::annotation_flags::kNoView.
Referenced by CPDFSDK_Widget::DoHitTest(), CFFL_InteractiveFormFiller::IsVisible(), and OnDraw().
|
overrideprivatevirtual |
Implements CPDFSDK_Annot::UnsafeInputHandlers.
Reimplemented in CPDFSDK_Widget.
Definition at line 339 of file cpdfsdk_baannot.cpp.
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 260 of file cpdfsdk_baannot.cpp.
References DrawAppearance(), CFX_DrawUtils::DrawFocusRect(), GetAnnotSubtype(), CPDFSDK_Annot::GetPageView(), GetViewBBox(), CFX_FloatRect::IsEmpty(), IsFocusableAnnot(), IsVisible(), CPDF_Annot::kNormal, CFX_FloatRect::Normalize(), and CPDF_Annot::POPUP.
|
overrideprivatevirtual |
Implements CPDFSDK_Annot::UnsafeInputHandlers.
Reimplemented in CPDFSDK_Widget.
Definition at line 343 of file cpdfsdk_baannot.cpp.
References CPDFSDK_FormFillEnvironment::DoActionDestination(), CPDFSDK_FormFillEnvironment::DoActionLink(), FWL_VKEY_Return, GetAAction(), GetAnnotSubtype(), GetDestination(), CPDFSDK_Annot::GetPageView(), CPDF_Action::HasDict(), CPDF_AAction::kKeyStroke, and CPDF_Annot::LINK.
|
overrideprivatevirtual |
Implements CPDFSDK_Annot::UnsafeInputHandlers.
Reimplemented in CPDFSDK_Widget.
Definition at line 371 of file cpdfsdk_baannot.cpp.
References GetAnnotSubtype(), and IsFocusableAnnot().
|
overrideprivatevirtual |
Implements CPDFSDK_Annot::UnsafeInputHandlers.
Reimplemented in CPDFSDK_Widget.
Definition at line 313 of file cpdfsdk_baannot.cpp.
|
overrideprivatevirtual |
Implements CPDFSDK_Annot::UnsafeInputHandlers.
Reimplemented in CPDFSDK_Widget.
Definition at line 303 of file cpdfsdk_baannot.cpp.
|
overrideprivatevirtual |
Implements CPDFSDK_Annot::UnsafeInputHandlers.
Reimplemented in CPDFSDK_Widget.
Definition at line 308 of file cpdfsdk_baannot.cpp.
|
overrideprivatevirtual |
Implements CPDFSDK_Annot::UnsafeInputHandlers.
Reimplemented in CPDFSDK_Widget.
Definition at line 293 of file cpdfsdk_baannot.cpp.
|
overrideprivatevirtual |
Implements CPDFSDK_Annot::UnsafeInputHandlers.
Reimplemented in CPDFSDK_Widget.
Definition at line 298 of file cpdfsdk_baannot.cpp.
|
overrideprivatevirtual |
Implements CPDFSDK_Annot::UnsafeInputHandlers.
Reimplemented in CPDFSDK_Widget.
Definition at line 318 of file cpdfsdk_baannot.cpp.
|
overrideprivatevirtual |
Implements CPDFSDK_Annot::UnsafeInputHandlers.
Reimplemented in CPDFSDK_Widget.
Definition at line 323 of file cpdfsdk_baannot.cpp.
|
overrideprivatevirtual |
Implements CPDFSDK_Annot::UnsafeInputHandlers.
Reimplemented in CPDFSDK_Widget.
Definition at line 329 of file cpdfsdk_baannot.cpp.
|
overrideprivatevirtual |
Implements CPDFSDK_Annot::UnsafeInputHandlers.
Reimplemented in CPDFSDK_Widget.
Definition at line 334 of file cpdfsdk_baannot.cpp.
|
overrideprivatevirtual |
Implements CPDFSDK_Annot::UnsafeInputHandlers.
Reimplemented in CPDFSDK_Widget.
Definition at line 362 of file cpdfsdk_baannot.cpp.
References GetAnnotSubtype(), and IsFocusableAnnot().
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 392 of file cpdfsdk_baannot.cpp.
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 404 of file cpdfsdk_baannot.cpp.
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 406 of file cpdfsdk_baannot.cpp.
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 408 of file cpdfsdk_baannot.cpp.
void CPDFSDK_BAAnnot::SetAnnotName | ( | const WideString & | sName | ) |
Definition at line 89 of file cpdfsdk_baannot.cpp.
References fxcrt::WideString::IsEmpty(), and pdfium::annotation::kNM.
void CPDFSDK_BAAnnot::SetAppStateOff | ( | ) |
Definition at line 111 of file cpdfsdk_baannot.cpp.
References pdfium::annotation::kAS.
void CPDFSDK_BAAnnot::SetBorderStyle | ( | BorderStyle | nStyle | ) |
Definition at line 144 of file cpdfsdk_baannot.cpp.
References kBeveled, kDash, kInset, kSolid, and kUnderline.
void CPDFSDK_BAAnnot::SetBorderWidth | ( | int | nWidth | ) |
Definition at line 120 of file cpdfsdk_baannot.cpp.
void CPDFSDK_BAAnnot::SetFlags | ( | uint32_t | nFlags | ) |
Definition at line 102 of file cpdfsdk_baannot.cpp.
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 412 of file cpdfsdk_baannot.cpp.
|
overridevirtual |
Implements CPDFSDK_Annot.
Reimplemented in CPDFSDK_Widget.
Definition at line 388 of file cpdfsdk_baannot.cpp.