Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Side by Side Diff: fpdfsdk/include/cpdfsdk_annot.h

Issue 2287703002: Rename CPDFSDK_Annot::GetType to CPDFSDK_Annot::GetAnnotSubtype. (Closed)
Patch Set: Rename CPDFSDK_Annot::GetType to CPDFSDK_Annot::GetAnnotSubtype. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/include/cba_annotiterator.h ('k') | fpdfsdk/include/cpdfsdk_baannot.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_ 7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_
8 #define FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_ 8 #define FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_
9 9
10 #include "core/fpdfdoc/include/cpdf_aaction.h" 10 #include "core/fpdfdoc/include/cpdf_aaction.h"
(...skipping 17 matching lines...) Expand all
28 28
29 #ifdef PDF_ENABLE_XFA 29 #ifdef PDF_ENABLE_XFA
30 virtual FX_BOOL IsXFAField(); 30 virtual FX_BOOL IsXFAField();
31 virtual CXFA_FFWidget* GetXFAWidget() const; 31 virtual CXFA_FFWidget* GetXFAWidget() const;
32 #endif // PDF_ENABLE_XFA 32 #endif // PDF_ENABLE_XFA
33 33
34 virtual FX_FLOAT GetMinWidth() const; 34 virtual FX_FLOAT GetMinWidth() const;
35 virtual FX_FLOAT GetMinHeight() const; 35 virtual FX_FLOAT GetMinHeight() const;
36 virtual int GetLayoutOrder() const; 36 virtual int GetLayoutOrder() const;
37 virtual CPDF_Annot* GetPDFAnnot() const; 37 virtual CPDF_Annot* GetPDFAnnot() const;
38 virtual CFX_ByteString GetType() const; 38 virtual CFX_ByteString GetAnnotSubtype() const;
39 virtual CFX_ByteString GetSubType() const; 39 virtual bool IsSignatureWidget() const;
40 virtual CFX_FloatRect GetRect() const; 40 virtual CFX_FloatRect GetRect() const;
41 41
42 virtual void SetRect(const CFX_FloatRect& rect); 42 virtual void SetRect(const CFX_FloatRect& rect);
43 virtual void Annot_OnDraw(CFX_RenderDevice* pDevice, 43 virtual void Annot_OnDraw(CFX_RenderDevice* pDevice,
44 CFX_Matrix* pUser2Device, 44 CFX_Matrix* pUser2Device,
45 CPDF_RenderOptions* pOptions); 45 CPDF_RenderOptions* pOptions);
46 46
47 UnderlyingPageType* GetUnderlyingPage(); 47 UnderlyingPageType* GetUnderlyingPage();
48 CPDF_Page* GetPDFPage(); 48 CPDF_Page* GetPDFPage();
49 #ifdef PDF_ENABLE_XFA 49 #ifdef PDF_ENABLE_XFA
50 CPDFXFA_Page* GetPDFXFAPage(); 50 CPDFXFA_Page* GetPDFXFAPage();
51 #endif // PDF_ENABLE_XFA 51 #endif // PDF_ENABLE_XFA
52 52
53 void SetPage(CPDFSDK_PageView* pPageView); 53 void SetPage(CPDFSDK_PageView* pPageView);
54 CPDFSDK_PageView* GetPageView() const { return m_pPageView; } 54 CPDFSDK_PageView* GetPageView() const { return m_pPageView; }
55 55
56 FX_BOOL IsSelected(); 56 FX_BOOL IsSelected();
57 void SetSelected(FX_BOOL bSelected); 57 void SetSelected(FX_BOOL bSelected);
58 58
59 protected: 59 protected:
60 CPDFSDK_PageView* m_pPageView; 60 CPDFSDK_PageView* m_pPageView;
61 FX_BOOL m_bSelected; 61 FX_BOOL m_bSelected;
62 }; 62 };
63 63
64 #endif // FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_ 64 #endif // FPDFSDK_INCLUDE_CPDFSDK_ANNOT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/cba_annotiterator.h ('k') | fpdfsdk/include/cpdfsdk_baannot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698