| 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 FPDFSDK_INCLUDE_PDFWINDOW_PWL_NOTE_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_NOTE_H_ |
| 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_NOTE_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_NOTE_H_ |
| 9 | 9 |
| 10 #include "PWL_Button.h" | 10 #include "PWL_Button.h" |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 virtual void* GetPrivateData()
const = 0; | 75 virtual void* GetPrivateData()
const = 0; |
| 76 virtual CFX_WideString GetAuthorName() const =
0; | 76 virtual CFX_WideString GetAuthorName() const =
0; |
| 77 virtual CPWL_Color GetBkColor() con
st = 0; | 77 virtual CPWL_Color GetBkColor() con
st = 0; |
| 78 virtual CFX_WideString GetContents() const = 0; | 78 virtual CFX_WideString GetContents() const = 0; |
| 79 virtual FX_SYSTEMTIME GetDateTime() const = 0; | 79 virtual FX_SYSTEMTIME GetDateTime() const = 0; |
| 80 virtual CFX_WideString GetSubjectName() const =
0; | 80 virtual CFX_WideString GetSubjectName() const =
0; |
| 81 | 81 |
| 82 virtual CPWL_Edit* GetEdit() const
= 0; | 82 virtual CPWL_Edit* GetEdit() const
= 0; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 class PWL_CLASS CPWL_Note_Icon : public CPWL_Wnd | 85 class CPWL_Note_Icon : public CPWL_Wnd |
| 86 { | 86 { |
| 87 public: | 87 public: |
| 88 CPWL_Note_Icon(); | 88 CPWL_Note_Icon(); |
| 89 virtual ~CPWL_Note_Icon(); | 89 virtual ~CPWL_Note_Icon(); |
| 90 | 90 |
| 91 void SetIconT
ype(int32_t nType); | 91 void SetIconT
ype(int32_t nType); |
| 92 | 92 |
| 93 public: | 93 public: |
| 94 | 94 |
| 95 protected: | 95 protected: |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 void EnableRe
ad(FX_BOOL bEnabled); | 206 void EnableRe
ad(FX_BOOL bEnabled); |
| 207 void EnableMo
dify(FX_BOOL bEnabled); | 207 void EnableMo
dify(FX_BOOL bEnabled); |
| 208 | 208 |
| 209 protected: | 209 protected: |
| 210 virtual void CreateChildWnd(c
onst PWL_CREATEPARAM & cp); | 210 virtual void CreateChildWnd(c
onst PWL_CREATEPARAM & cp); |
| 211 | 211 |
| 212 private: | 212 private: |
| 213 CPWL_Note_Edit* m_pEdit; | 213 CPWL_Note_Edit* m_pEdit; |
| 214 }; | 214 }; |
| 215 | 215 |
| 216 class PWL_CLASS CPWL_NoteItem : public CPWL_Wnd, public IPWL_NoteItem | 216 class CPWL_NoteItem : public CPWL_Wnd, public IPWL_NoteItem |
| 217 { | 217 { |
| 218 public: | 218 public: |
| 219 CPWL_NoteItem(); | 219 CPWL_NoteItem(); |
| 220 virtual ~CPWL_NoteItem(); | 220 virtual ~CPWL_NoteItem(); |
| 221 | 221 |
| 222 public: | 222 public: |
| 223 virtual void SetPrivateData(v
oid* pData); | 223 virtual void SetPrivateData(v
oid* pData); |
| 224 virtual void SetBkColor(const
CPWL_Color& color); | 224 virtual void SetBkColor(const
CPWL_Color& color); |
| 225 virtual void SetSubjectName(c
onst CFX_WideString& sName); | 225 virtual void SetSubjectName(c
onst CFX_WideString& sName); |
| 226 virtual void SetAuthorName(co
nst CFX_WideString& sName); | 226 virtual void SetAuthorName(co
nst CFX_WideString& sName); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 private: | 286 private: |
| 287 void* m_pPriva
teData; | 287 void* m_pPriva
teData; |
| 288 FX_SYSTEMTIME m_dtNote; | 288 FX_SYSTEMTIME m_dtNote; |
| 289 CFX_WideString m_sAuthor; | 289 CFX_WideString m_sAuthor; |
| 290 | 290 |
| 291 FX_FLOAT m_fOldIt
emHeight; | 291 FX_FLOAT m_fOldIt
emHeight; |
| 292 FX_BOOL m_bSizeC
hanged; | 292 FX_BOOL m_bSizeC
hanged; |
| 293 FX_BOOL m_bAllow
Modify; | 293 FX_BOOL m_bAllow
Modify; |
| 294 }; | 294 }; |
| 295 | 295 |
| 296 class PWL_CLASS CPWL_Note : public CPWL_NoteItem | 296 class CPWL_Note : public CPWL_NoteItem |
| 297 { | 297 { |
| 298 public: | 298 public: |
| 299 CPWL_Note(IPopup_Note* pPopupNote, IPWL_NoteNotify* pNoteNotify, IPWL_No
teHandler* pNoteHandler); | 299 CPWL_Note(IPopup_Note* pPopupNote, IPWL_NoteNotify* pNoteNotify, IPWL_No
teHandler* pNoteHandler); |
| 300 virtual ~CPWL_Note(); | 300 virtual ~CPWL_Note(); |
| 301 | 301 |
| 302 public: | 302 public: |
| 303 virtual void SetSubjectName(c
onst CFX_WideString& sName); | 303 virtual void SetSubjectName(c
onst CFX_WideString& sName); |
| 304 virtual void SetAuthorName(co
nst CFX_WideString& sName); | 304 virtual void SetAuthorName(co
nst CFX_WideString& sName); |
| 305 virtual CFX_WideString GetAuthorName() const; | 305 virtual CFX_WideString GetAuthorName() const; |
| 306 virtual void SetBkColor(const
CPWL_Color& color); | 306 virtual void SetBkColor(const
CPWL_Color& color); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 IPWL_NoteNotify* m_pNoteNotify; | 351 IPWL_NoteNotify* m_pNoteNotify; |
| 352 FX_BOOL m_bResiz
ing; | 352 FX_BOOL m_bResiz
ing; |
| 353 PWL_SCROLL_INFO m_OldScrollInfo; | 353 PWL_SCROLL_INFO m_OldScrollInfo; |
| 354 CPDF_Rect m_rcCapt
ion; | 354 CPDF_Rect m_rcCapt
ion; |
| 355 FX_BOOL m_bEnalb
leNotify; | 355 FX_BOOL m_bEnalb
leNotify; |
| 356 IPopup_Note* m_pPopupNote; | 356 IPopup_Note* m_pPopupNote; |
| 357 CFX_WideString m_sReplyString; | 357 CFX_WideString m_sReplyString; |
| 358 }; | 358 }; |
| 359 | 359 |
| 360 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_NOTE_H_ | 360 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_NOTE_H_ |
| OLD | NEW |