Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CPDFSDK_BAAnnot Class Reference

#include <cpdfsdk_baannot.h>

+ Inheritance diagram for CPDFSDK_BAAnnot:
+ Collaboration diagram for CPDFSDK_BAAnnot:

Public Member Functions

 CPDFSDK_BAAnnot (CPDF_Annot *pAnnot, CPDFSDK_PageView *pPageView)
 
 ~CPDFSDK_BAAnnot () override
 
CPDFSDK_BAAnnotAsBAAnnot () override
 
CPDFSDK_Annot::UnsafeInputHandlersGetUnsafeInputHandlers () override
 
CPDF_Annot::Subtype GetAnnotSubtype () const override
 
CFX_FloatRect GetRect () const override
 
CPDF_AnnotGetPDFAnnot () const override
 
int GetLayoutOrder () const override
 
void OnDraw (CFX_RenderDevice *pDevice, const CFX_Matrix &mtUser2Device, bool bDrawAnnots) override
 
bool DoHitTest (const CFX_PointF &point) override
 
CFX_FloatRect GetViewBBox () override
 
bool CanUndo () override
 
bool CanRedo () override
 
bool Undo () override
 
bool Redo () override
 
WideString GetText () override
 
WideString GetSelectedText () override
 
void ReplaceAndKeepSelection (const WideString &text) override
 
void ReplaceSelection (const WideString &text) override
 
bool SelectAllText () override
 
bool SetIndexSelected (int index, bool selected) override
 
bool IsIndexSelected (int index) override
 
virtual CPDF_Action GetAAction (CPDF_AAction::AActionType eAAT)
 
virtual bool IsAppearanceValid ()
 
virtual void DrawAppearance (CFX_RenderDevice *pDevice, const CFX_Matrix &mtUser2Device, CPDF_Annot::AppearanceMode mode)
 
void SetAnnotName (const WideString &sName)
 
WideString GetAnnotName () const
 
void SetFlags (uint32_t nFlags)
 
uint32_t GetFlags () const
 
void SetAppStateOff ()
 
ByteString GetAppState () const
 
void SetBorderWidth (int nWidth)
 
int GetBorderWidth () const
 
void SetBorderStyle (BorderStyle nStyle)
 
BorderStyle GetBorderStyle () const
 
bool IsVisible () const
 
CPDF_Action GetAction () const
 
CPDF_AAction GetAAction () const
 
CPDF_Dest GetDestination () const
 
- Public Member Functions inherited from CPDFSDK_Annot
virtual ~CPDFSDK_Annot ()
 
virtual CPDFXFA_WidgetAsXFAWidget ()
 
virtual void OnLoad ()
 
IPDF_PageGetPage ()
 
CPDF_PageGetPDFPage ()
 
IPDF_PageGetXFAPage ()
 
CPDFSDK_PageViewGetPageView () const
 
- Public Member Functions inherited from fxcrt::Observable
 Observable ()
 
 Observable (const Observable &that)=delete
 
Observableoperator= (const Observable &that)=delete
 
 ~Observable ()
 
void AddObserver (ObserverIface *pObserver)
 
void RemoveObserver (ObserverIface *pObserver)
 
void NotifyObservers ()
 

Protected Member Functions

const CPDF_DictionaryGetAnnotDict () const
 
RetainPtr< CPDF_DictionaryGetMutableAnnotDict ()
 
RetainPtr< CPDF_DictionaryGetAPDict ()
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from CPDFSDK_Annot
static void OnMouseEnter (ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags)
 
static void OnMouseExit (ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags)
 
static bool OnLButtonDown (ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
 
static bool OnLButtonUp (ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
 
static bool OnLButtonDblClk (ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
 
static bool OnMouseMove (ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
 
static bool OnMouseWheel (ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point, const CFX_Vector &delta)
 
static bool OnRButtonDown (ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
 
static bool OnRButtonUp (ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
 
static bool OnChar (ObservedPtr< CPDFSDK_Annot > &pAnnot, uint32_t nChar, Mask< FWL_EVENTFLAG > nFlags)
 
static bool OnKeyDown (ObservedPtr< CPDFSDK_Annot > &pAnnot, FWL_VKEYCODE nKeyCode, Mask< FWL_EVENTFLAG > nFlags)
 
static bool OnSetFocus (ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags)
 
static bool OnKillFocus (ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags)
 

Detailed Description

Definition at line 23 of file cpdfsdk_baannot.h.

Constructor & Destructor Documentation

◆ CPDFSDK_BAAnnot()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~CPDFSDK_BAAnnot()

CPDFSDK_BAAnnot::~CPDFSDK_BAAnnot ( )
overridedefault

Member Function Documentation

◆ AsBAAnnot()

CPDFSDK_BAAnnot * CPDFSDK_BAAnnot::AsBAAnnot ( )
overridevirtual

Reimplemented from CPDFSDK_Annot.

Definition at line 36 of file cpdfsdk_baannot.cpp.

◆ CanRedo()

bool CPDFSDK_BAAnnot::CanRedo ( )
overridevirtual

Implements CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 384 of file cpdfsdk_baannot.cpp.

◆ CanUndo()

bool CPDFSDK_BAAnnot::CanUndo ( )
overridevirtual

Implements CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 380 of file cpdfsdk_baannot.cpp.

◆ ClearCachedAnnotAP()

void CPDFSDK_BAAnnot::ClearCachedAnnotAP ( )
protected

Definition at line 60 of file cpdfsdk_baannot.cpp.

◆ DoHitTest()

bool CPDFSDK_BAAnnot::DoHitTest ( const CFX_PointF & point)
overridevirtual

Implements CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 285 of file cpdfsdk_baannot.cpp.

◆ DrawAppearance()

void CPDFSDK_BAAnnot::DrawAppearance ( CFX_RenderDevice * pDevice,
const CFX_Matrix & mtUser2Device,
CPDF_Annot::AppearanceMode mode )
virtual

Reimplemented in CPDFSDK_Widget.

Definition at line 78 of file cpdfsdk_baannot.cpp.

Referenced by CPDFSDK_Widget::DrawAppearance(), and OnDraw().

+ Here is the caller graph for this function:

◆ GetAAction() [1/2]

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAAction() [2/2]

CPDF_Action CPDFSDK_BAAnnot::GetAAction ( CPDF_AAction::AActionType eAAT)
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAction()

CPDF_Action CPDFSDK_BAAnnot::GetAction ( ) const

Definition at line 204 of file cpdfsdk_baannot.cpp.

References GetAnnotDict(), and CPDF_Dictionary::GetDictFor().

Referenced by GetAAction().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAnnotDict()

const CPDF_Dictionary * CPDFSDK_BAAnnot::GetAnnotDict ( ) const
protected

Definition at line 48 of file cpdfsdk_baannot.cpp.

Referenced by GetAAction(), GetAction(), GetAnnotName(), GetAppState(), GetDestination(), GetFlags(), CPDFSDK_Widget::GetFormControl(), and IsAppearanceValid().

+ Here is the caller graph for this function:

◆ GetAnnotName()

WideString CPDFSDK_BAAnnot::GetAnnotName ( ) const

Definition at line 98 of file cpdfsdk_baannot.cpp.

References GetAnnotDict(), CPDF_Dictionary::GetUnicodeTextFor(), and pdfium::annotation::kNM.

+ Here is the call graph for this function:

◆ GetAnnotSubtype()

CPDF_Annot::Subtype CPDFSDK_BAAnnot::GetAnnotSubtype ( ) const
overridevirtual

Implements CPDFSDK_Annot.

Definition at line 74 of file cpdfsdk_baannot.cpp.

Referenced by CPWLSpecialButtonEmbedderTest::CreateAndInitializeFormPDF(), OnDraw(), OnKeyDown(), OnKillFocus(), and OnSetFocus().

+ Here is the caller graph for this function:

◆ GetAPDict()

RetainPtr< CPDF_Dictionary > CPDFSDK_BAAnnot::GetAPDict ( )
protected

Definition at line 56 of file cpdfsdk_baannot.cpp.

◆ GetAppState()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetBorderStyle()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetBorderWidth()

int CPDFSDK_BAAnnot::GetBorderWidth ( ) const

Definition at line 131 of file cpdfsdk_baannot.cpp.

Referenced by CPDFSDK_Widget::GetClientRect().

+ Here is the caller graph for this function:

◆ GetDestination()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetFlags()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetLayoutOrder()

int CPDFSDK_BAAnnot::GetLayoutOrder ( ) const
overridevirtual

Reimplemented from CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 253 of file cpdfsdk_baannot.cpp.

References CPDFSDK_Annot::GetLayoutOrder().

+ Here is the call graph for this function:

◆ GetMutableAnnotDict()

RetainPtr< CPDF_Dictionary > CPDFSDK_BAAnnot::GetMutableAnnotDict ( )
protected

Definition at line 52 of file cpdfsdk_baannot.cpp.

Referenced by CPDFSDK_Widget::SetRect().

+ Here is the caller graph for this function:

◆ GetPDFAnnot()

CPDF_Annot * CPDFSDK_BAAnnot::GetPDFAnnot ( ) const
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().

+ Here is the caller graph for this function:

◆ GetRect()

CFX_FloatRect CPDFSDK_BAAnnot::GetRect ( ) const
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().

+ Here is the caller graph for this function:

◆ GetSelectedText()

WideString CPDFSDK_BAAnnot::GetSelectedText ( )
overridevirtual

Implements CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 400 of file cpdfsdk_baannot.cpp.

References fxcrt::WideString::WideString().

+ Here is the call graph for this function:

◆ GetText()

WideString CPDFSDK_BAAnnot::GetText ( )
overridevirtual

Implements CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 396 of file cpdfsdk_baannot.cpp.

References fxcrt::WideString::WideString().

+ Here is the call graph for this function:

◆ GetUnsafeInputHandlers()

CPDFSDK_Annot::UnsafeInputHandlers * CPDFSDK_BAAnnot::GetUnsafeInputHandlers ( )
overridevirtual

Implements CPDFSDK_Annot.

Definition at line 40 of file cpdfsdk_baannot.cpp.

◆ GetViewBBox()

CFX_FloatRect CPDFSDK_BAAnnot::GetViewBBox ( )
overridevirtual

Implements CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 289 of file cpdfsdk_baannot.cpp.

References GetRect().

Referenced by OnDraw().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAppearanceValid()

bool CPDFSDK_BAAnnot::IsAppearanceValid ( )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsFocusableAnnot()

bool CPDFSDK_BAAnnot::IsFocusableAnnot ( const CPDF_Annot::Subtype & annot_type) const
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsIndexSelected()

bool CPDFSDK_BAAnnot::IsIndexSelected ( int index)
overridevirtual

Implements CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 416 of file cpdfsdk_baannot.cpp.

◆ IsVisible()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ OnChar()

bool CPDFSDK_BAAnnot::OnChar ( uint32_t nChar,
Mask< FWL_EVENTFLAG > nFlags )
overrideprivatevirtual

Implements CPDFSDK_Annot::UnsafeInputHandlers.

Reimplemented in CPDFSDK_Widget.

Definition at line 339 of file cpdfsdk_baannot.cpp.

◆ OnDraw()

void CPDFSDK_BAAnnot::OnDraw ( CFX_RenderDevice * pDevice,
const CFX_Matrix & mtUser2Device,
bool bDrawAnnots )
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.

+ Here is the call graph for this function:

◆ OnKeyDown()

bool CPDFSDK_BAAnnot::OnKeyDown ( FWL_VKEYCODE nKeyCode,
Mask< FWL_EVENTFLAG > nFlags )
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.

+ Here is the call graph for this function:

◆ OnKillFocus()

bool CPDFSDK_BAAnnot::OnKillFocus ( Mask< FWL_EVENTFLAG > nFlags)
overrideprivatevirtual

Implements CPDFSDK_Annot::UnsafeInputHandlers.

Reimplemented in CPDFSDK_Widget.

Definition at line 371 of file cpdfsdk_baannot.cpp.

References GetAnnotSubtype(), and IsFocusableAnnot().

+ Here is the call graph for this function:

◆ OnLButtonDblClk()

bool CPDFSDK_BAAnnot::OnLButtonDblClk ( Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point )
overrideprivatevirtual

Implements CPDFSDK_Annot::UnsafeInputHandlers.

Reimplemented in CPDFSDK_Widget.

Definition at line 313 of file cpdfsdk_baannot.cpp.

◆ OnLButtonDown()

bool CPDFSDK_BAAnnot::OnLButtonDown ( Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point )
overrideprivatevirtual

Implements CPDFSDK_Annot::UnsafeInputHandlers.

Reimplemented in CPDFSDK_Widget.

Definition at line 303 of file cpdfsdk_baannot.cpp.

◆ OnLButtonUp()

bool CPDFSDK_BAAnnot::OnLButtonUp ( Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point )
overrideprivatevirtual

Implements CPDFSDK_Annot::UnsafeInputHandlers.

Reimplemented in CPDFSDK_Widget.

Definition at line 308 of file cpdfsdk_baannot.cpp.

◆ OnMouseEnter()

void CPDFSDK_BAAnnot::OnMouseEnter ( Mask< FWL_EVENTFLAG > nFlags)
overrideprivatevirtual

Implements CPDFSDK_Annot::UnsafeInputHandlers.

Reimplemented in CPDFSDK_Widget.

Definition at line 293 of file cpdfsdk_baannot.cpp.

◆ OnMouseExit()

void CPDFSDK_BAAnnot::OnMouseExit ( Mask< FWL_EVENTFLAG > nFlags)
overrideprivatevirtual

Implements CPDFSDK_Annot::UnsafeInputHandlers.

Reimplemented in CPDFSDK_Widget.

Definition at line 298 of file cpdfsdk_baannot.cpp.

◆ OnMouseMove()

bool CPDFSDK_BAAnnot::OnMouseMove ( Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point )
overrideprivatevirtual

Implements CPDFSDK_Annot::UnsafeInputHandlers.

Reimplemented in CPDFSDK_Widget.

Definition at line 318 of file cpdfsdk_baannot.cpp.

◆ OnMouseWheel()

bool CPDFSDK_BAAnnot::OnMouseWheel ( Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point,
const CFX_Vector & delta )
overrideprivatevirtual

Implements CPDFSDK_Annot::UnsafeInputHandlers.

Reimplemented in CPDFSDK_Widget.

Definition at line 323 of file cpdfsdk_baannot.cpp.

◆ OnRButtonDown()

bool CPDFSDK_BAAnnot::OnRButtonDown ( Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point )
overrideprivatevirtual

Implements CPDFSDK_Annot::UnsafeInputHandlers.

Reimplemented in CPDFSDK_Widget.

Definition at line 329 of file cpdfsdk_baannot.cpp.

◆ OnRButtonUp()

bool CPDFSDK_BAAnnot::OnRButtonUp ( Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point )
overrideprivatevirtual

Implements CPDFSDK_Annot::UnsafeInputHandlers.

Reimplemented in CPDFSDK_Widget.

Definition at line 334 of file cpdfsdk_baannot.cpp.

◆ OnSetFocus()

bool CPDFSDK_BAAnnot::OnSetFocus ( Mask< FWL_EVENTFLAG > nFlags)
overrideprivatevirtual

Implements CPDFSDK_Annot::UnsafeInputHandlers.

Reimplemented in CPDFSDK_Widget.

Definition at line 362 of file cpdfsdk_baannot.cpp.

References GetAnnotSubtype(), and IsFocusableAnnot().

+ Here is the call graph for this function:

◆ Redo()

bool CPDFSDK_BAAnnot::Redo ( )
overridevirtual

Implements CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 392 of file cpdfsdk_baannot.cpp.

◆ ReplaceAndKeepSelection()

void CPDFSDK_BAAnnot::ReplaceAndKeepSelection ( const WideString & text)
overridevirtual

Implements CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 404 of file cpdfsdk_baannot.cpp.

◆ ReplaceSelection()

void CPDFSDK_BAAnnot::ReplaceSelection ( const WideString & text)
overridevirtual

Implements CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 406 of file cpdfsdk_baannot.cpp.

◆ SelectAllText()

bool CPDFSDK_BAAnnot::SelectAllText ( )
overridevirtual

Implements CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 408 of file cpdfsdk_baannot.cpp.

◆ SetAnnotName()

void CPDFSDK_BAAnnot::SetAnnotName ( const WideString & sName)

Definition at line 89 of file cpdfsdk_baannot.cpp.

References fxcrt::WideString::IsEmpty(), and pdfium::annotation::kNM.

+ Here is the call graph for this function:

◆ SetAppStateOff()

void CPDFSDK_BAAnnot::SetAppStateOff ( )

Definition at line 111 of file cpdfsdk_baannot.cpp.

References pdfium::annotation::kAS.

◆ SetBorderStyle()

void CPDFSDK_BAAnnot::SetBorderStyle ( BorderStyle nStyle)

Definition at line 144 of file cpdfsdk_baannot.cpp.

References kBeveled, kDash, kInset, kSolid, and kUnderline.

◆ SetBorderWidth()

void CPDFSDK_BAAnnot::SetBorderWidth ( int nWidth)

Definition at line 120 of file cpdfsdk_baannot.cpp.

◆ SetFlags()

void CPDFSDK_BAAnnot::SetFlags ( uint32_t nFlags)

Definition at line 102 of file cpdfsdk_baannot.cpp.

◆ SetIndexSelected()

bool CPDFSDK_BAAnnot::SetIndexSelected ( int index,
bool selected )
overridevirtual

Implements CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 412 of file cpdfsdk_baannot.cpp.

◆ Undo()

bool CPDFSDK_BAAnnot::Undo ( )
overridevirtual

Implements CPDFSDK_Annot.

Reimplemented in CPDFSDK_Widget.

Definition at line 388 of file cpdfsdk_baannot.cpp.


The documentation for this class was generated from the following files: