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 _PAGEINT_H_ | 7 #ifndef CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ |
8 #define _PAGEINT_H_ | 8 #define CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ |
9 | 9 |
10 #include "../../../include/fpdfapi/fpdf_pageobj.h" | 10 #include "../../../include/fpdfapi/fpdf_pageobj.h" |
| 11 |
11 #define PARSE_STEP_LIMIT 100 | 12 #define PARSE_STEP_LIMIT 100 |
12 #define STREAM_PARSE_BUFSIZE 20480 | 13 #define STREAM_PARSE_BUFSIZE 20480 |
13 class CPDF_QuickFontCache; | 14 class CPDF_QuickFontCache; |
14 class CPDF_StreamParser | 15 class CPDF_StreamParser |
15 { | 16 { |
16 public: | 17 public: |
17 | 18 |
18 CPDF_StreamParser(const FX_BYTE* pData, FX_DWORD dwSize); | 19 CPDF_StreamParser(const FX_BYTE* pData, FX_DWORD dwSize); |
19 ~CPDF_StreamParser(); | 20 ~CPDF_StreamParser(); |
20 | 21 |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 struct _NamingState { | 459 struct _NamingState { |
459 CFX_ByteString m_Prefix; | 460 CFX_ByteString m_Prefix; |
460 int m_nIndex; | 461 int m_nIndex; |
461 }; | 462 }; |
462 ~CPDF_ResourceNaming(); | 463 ~CPDF_ResourceNaming(); |
463 CFX_ByteString GetName(const CPDF_Dictionary* pResList, FX_LPCS
TR szType); | 464 CFX_ByteString GetName(const CPDF_Dictionary* pResList, FX_LPCS
TR szType); |
464 protected: | 465 protected: |
465 CFX_MapByteStringToPtr m_NamingCache; | 466 CFX_MapByteStringToPtr m_NamingCache; |
466 }; | 467 }; |
467 | 468 |
468 #endif // _PAGEINT_H_ | 469 #endif // CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ |
OLD | NEW |