| 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 XFA_INCLUDE_FXFA_FXFA_H_ | 7 #ifndef XFA_INCLUDE_FXFA_FXFA_H_ |
| 8 #define XFA_INCLUDE_FXFA_FXFA_H_ | 8 #define XFA_INCLUDE_FXFA_FXFA_H_ |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 virtual IFWL_AdapterTimerMgr* GetTimerMgr() = 0; | 289 virtual IFWL_AdapterTimerMgr* GetTimerMgr() = 0; |
| 290 }; | 290 }; |
| 291 class IXFA_FontMgr { | 291 class IXFA_FontMgr { |
| 292 public: | 292 public: |
| 293 static IXFA_FontMgr* CreateDefault(); | 293 static IXFA_FontMgr* CreateDefault(); |
| 294 virtual ~IXFA_FontMgr(); | 294 virtual ~IXFA_FontMgr(); |
| 295 | 295 |
| 296 virtual IFX_Font* GetFont(IXFA_Doc* hDoc, | 296 virtual IFX_Font* GetFont(IXFA_Doc* hDoc, |
| 297 const CFX_WideStringC& wsFontFamily, | 297 const CFX_WideStringC& wsFontFamily, |
| 298 FX_DWORD dwFontStyles, | 298 FX_DWORD dwFontStyles, |
| 299 FX_WORD wCodePage = 0xFFFF) = 0; | 299 uint16_t wCodePage = 0xFFFF) = 0; |
| 300 virtual IFX_Font* GetDefaultFont(IXFA_Doc* hDoc, | 300 virtual IFX_Font* GetDefaultFont(IXFA_Doc* hDoc, |
| 301 const CFX_WideStringC& wsFontFamily, | 301 const CFX_WideStringC& wsFontFamily, |
| 302 FX_DWORD dwFontStyles, | 302 FX_DWORD dwFontStyles, |
| 303 FX_WORD wCodePage = 0xFFFF) = 0; | 303 uint16_t wCodePage = 0xFFFF) = 0; |
| 304 }; | 304 }; |
| 305 class IXFA_App { | 305 class IXFA_App { |
| 306 public: | 306 public: |
| 307 static IXFA_App* Create(IXFA_AppProvider* pProvider); | 307 static IXFA_App* Create(IXFA_AppProvider* pProvider); |
| 308 virtual ~IXFA_App(); | 308 virtual ~IXFA_App(); |
| 309 | 309 |
| 310 virtual IXFA_DocHandler* GetDocHandler() = 0; | 310 virtual IXFA_DocHandler* GetDocHandler() = 0; |
| 311 virtual IXFA_Doc* CreateDoc(IXFA_DocProvider* pProvider, | 311 virtual IXFA_Doc* CreateDoc(IXFA_DocProvider* pProvider, |
| 312 IFX_FileRead* pStream, | 312 IFX_FileRead* pStream, |
| 313 FX_BOOL bTakeOverFile = TRUE) = 0; | 313 FX_BOOL bTakeOverFile = TRUE) = 0; |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 size_t size = 0) = 0; | 837 size_t size = 0) = 0; |
| 838 virtual void FinishChecksum() = 0; | 838 virtual void FinishChecksum() = 0; |
| 839 virtual void GetChecksum(CFX_ByteString& bsChecksum) = 0; | 839 virtual void GetChecksum(CFX_ByteString& bsChecksum) = 0; |
| 840 | 840 |
| 841 protected: | 841 protected: |
| 842 ~IXFA_ChecksumContext() {} | 842 ~IXFA_ChecksumContext() {} |
| 843 }; | 843 }; |
| 844 IXFA_ChecksumContext* XFA_Checksum_Create(); | 844 IXFA_ChecksumContext* XFA_Checksum_Create(); |
| 845 | 845 |
| 846 #endif // XFA_INCLUDE_FXFA_FXFA_H_ | 846 #endif // XFA_INCLUDE_FXFA_FXFA_H_ |
| OLD | NEW |