summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_baannot.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-03-15 15:01:17 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-15 15:01:17 +0000
commit0a68fd65bb2ced78bc57769cde8ecd16a175c84f (patch)
tree4513a515e31008136c57aa1f2421c18aa1b1edcc /fpdfsdk/cpdfsdk_baannot.h
parent0202adeb5a042ca43f29439ef59e7bc3d4f8268f (diff)
downloadpdfium-0a68fd65bb2ced78bc57769cde8ecd16a175c84f.tar.xz
Remove unused CPDFSDK_BAAnnot methods.
Change-Id: I5de956c8a759c974659396a34a355eb0840d2144 Reviewed-on: https://pdfium-review.googlesource.com/28580 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_baannot.h')
-rw-r--r--fpdfsdk/cpdfsdk_baannot.h42
1 files changed, 9 insertions, 33 deletions
diff --git a/fpdfsdk/cpdfsdk_baannot.h b/fpdfsdk/cpdfsdk_baannot.h
index ac3c0cb384..f2fdd30b64 100644
--- a/fpdfsdk/cpdfsdk_baannot.h
+++ b/fpdfsdk/cpdfsdk_baannot.h
@@ -32,68 +32,44 @@ class CPDFSDK_BAAnnot : public CPDFSDK_Annot {
void SetRect(const CFX_FloatRect& rect) override;
CFX_FloatRect GetRect() const override;
CPDF_Annot* GetPDFAnnot() const override;
+ int GetLayoutOrder() const override;
+
+ virtual CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT);
+ virtual bool IsAppearanceValid();
+ virtual bool IsAppearanceValid(CPDF_Annot::AppearanceMode mode);
+ virtual void DrawAppearance(CFX_RenderDevice* pDevice,
+ const CFX_Matrix& mtUser2Device,
+ CPDF_Annot::AppearanceMode mode,
+ const CPDF_RenderOptions* pOptions);
CPDF_Dictionary* GetAnnotDict() const;
CPDF_Annot* GetPDFPopupAnnot() const;
CPDF_Dictionary* GetAPDict() const;
- void SetContents(const WideString& sContents);
- WideString GetContents() const;
-
void SetAnnotName(const WideString& sName);
WideString GetAnnotName() const;
- void SetModifiedDate(const FX_SYSTEMTIME& st);
- FX_SYSTEMTIME GetModifiedDate() const;
-
void SetFlags(uint32_t nFlags);
uint32_t GetFlags() const;
void SetAppState(const ByteString& str);
ByteString GetAppState() const;
- void SetStructParent(int key);
- int GetStructParent() const;
-
void SetBorderWidth(int nWidth);
int GetBorderWidth() const;
void SetBorderStyle(BorderStyle nStyle);
BorderStyle GetBorderStyle() const;
- void SetColor(FX_COLORREF color);
- void RemoveColor();
- bool GetColor(FX_COLORREF& color) const;
-
bool IsVisible() const;
CPDF_Action GetAction() const;
- void SetAction(const CPDF_Action& a);
- void RemoveAction();
CPDF_AAction GetAAction() const;
- void SetAAction(const CPDF_AAction& aa);
- void RemoveAAction();
-
- virtual CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT);
- virtual bool IsAppearanceValid();
- virtual bool IsAppearanceValid(CPDF_Annot::AppearanceMode mode);
- virtual void DrawAppearance(CFX_RenderDevice* pDevice,
- const CFX_Matrix& mtUser2Device,
- CPDF_Annot::AppearanceMode mode,
- const CPDF_RenderOptions* pOptions);
-
- void DrawBorder(CFX_RenderDevice* pDevice,
- const CFX_Matrix* pUser2Device,
- const CPDF_RenderOptions* pOptions);
-
- void ClearCachedAP();
void SetOpenState(bool bState);
- int GetLayoutOrder() const override;
-
protected:
UnownedPtr<CPDF_Annot> const m_pAnnot;
};