| 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_FSDK_BASEANNOT_H_ | 7 #ifndef FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ |
| 8 #define FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ | 8 #define FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ |
| 9 | 9 |
| 10 #if _FX_OS_ == _FX_ANDROID_ | 10 #if _FX_OS_ == _FX_ANDROID_ |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 void SetContents(const CFX_WideString& sContents); | 142 void SetContents(const CFX_WideString& sContents); |
| 143 CFX_WideString GetContents() const; | 143 CFX_WideString GetContents() const; |
| 144 | 144 |
| 145 void SetAnnotName(const CFX_WideString& sName); | 145 void SetAnnotName(const CFX_WideString& sName); |
| 146 CFX_WideString GetAnnotName() const; | 146 CFX_WideString GetAnnotName() const; |
| 147 | 147 |
| 148 void SetModifiedDate(const FX_SYSTEMTIME& st); | 148 void SetModifiedDate(const FX_SYSTEMTIME& st); |
| 149 FX_SYSTEMTIME GetModifiedDate() const; | 149 FX_SYSTEMTIME GetModifiedDate() const; |
| 150 | 150 |
| 151 void SetFlags(int nFlags); | 151 void SetFlags(FX_DWORD nFlags); |
| 152 int GetFlags() const; | 152 FX_DWORD GetFlags() const; |
| 153 | 153 |
| 154 void SetAppState(const CFX_ByteString& str); | 154 void SetAppState(const CFX_ByteString& str); |
| 155 CFX_ByteString GetAppState() const; | 155 CFX_ByteString GetAppState() const; |
| 156 | 156 |
| 157 void SetStructParent(int key); | 157 void SetStructParent(int key); |
| 158 int GetStructParent() const; | 158 int GetStructParent() const; |
| 159 | 159 |
| 160 // border | 160 // border |
| 161 void SetBorderWidth(int nWidth); | 161 void SetBorderWidth(int nWidth); |
| 162 int GetBorderWidth() const; | 162 int GetBorderWidth() const; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 const CFX_ByteString& sAPState = ""); | 213 const CFX_ByteString& sAPState = ""); |
| 214 | 214 |
| 215 protected: | 215 protected: |
| 216 CPDF_Annot* m_pAnnot; | 216 CPDF_Annot* m_pAnnot; |
| 217 | 217 |
| 218 private: | 218 private: |
| 219 FX_BOOL CreateFormFiller(); | 219 FX_BOOL CreateFormFiller(); |
| 220 }; | 220 }; |
| 221 | 221 |
| 222 #endif // FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ | 222 #endif // FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ |
| OLD | NEW |