| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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 _FSDK_ANNOTHANDLER_H_ | 7 #ifndef _FSDK_ANNOTHANDLER_H_ |
| 8 #define _FSDK_ANNOTHANDLER_H_ | 8 #define _FSDK_ANNOTHANDLER_H_ |
| 9 | 9 |
| 10 | 10 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 virtual FX_BOOL OnSetFocus(CPDFSDK_Annot* pAnnot
, FX_DWORD nFlag) = 0; | 79 virtual FX_BOOL OnSetFocus(CPDFSDK_Annot* pAnnot
, FX_DWORD nFlag) = 0; |
| 80 virtual FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnno
t, FX_DWORD nFlag) = 0; | 80 virtual FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnno
t, FX_DWORD nFlag) = 0; |
| 81 | 81 |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 | 84 |
| 85 class CPDFSDK_BFAnnotHandler:public IPDFSDK_AnnotHandler | 85 class CPDFSDK_BFAnnotHandler:public IPDFSDK_AnnotHandler |
| 86 { | 86 { |
| 87 public: | 87 public: |
| 88 » CPDFSDK_BFAnnotHandler(CPDFDoc_Environment*» pApp):m_pFormFiller(NULL
),m_pApp(pApp) {} | 88 » CPDFSDK_BFAnnotHandler(CPDFDoc_Environment* pApp) : m_pApp(pApp), m_pFor
mFiller(NULL) {} |
| 89 virtual ~CPDFSDK_BFAnnotHandler() {} | 89 virtual ~CPDFSDK_BFAnnotHandler() {} |
| 90 public: | 90 public: |
| 91 | 91 |
| 92 virtual CFX_ByteString GetType() {return CFX_ByteString("Widge
t");} | 92 virtual CFX_ByteString GetType() {return CFX_ByteString("Widge
t");} |
| 93 | 93 |
| 94 virtual CFX_ByteString GetName() {return CFX_ByteString("Widge
tHandler");} | 94 virtual CFX_ByteString GetName() {return CFX_ByteString("Widge
tHandler");} |
| 95 | 95 |
| 96 virtual FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot)
; | 96 virtual FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot)
; |
| 97 | 97 |
| 98 virtual CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_Pag
eView* pPage); | 98 virtual CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_Pag
eView* pPage); |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 CFX_PtrArray m_pIteratorAnnotList; | 239 CFX_PtrArray m_pIteratorAnnotList; |
| 240 FX_BOOL m_bReverse; | 240 FX_BOOL m_bReverse; |
| 241 FX_BOOL m_bIgnoreTopmost; | 241 FX_BOOL m_bIgnoreTopmost; |
| 242 FX_BOOL m_bCircle; | 242 FX_BOOL m_bCircle; |
| 243 }; | 243 }; |
| 244 | 244 |
| 245 | 245 |
| 246 | 246 |
| 247 #endif | 247 #endif |
| 248 | 248 |
| OLD | NEW |