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_ |
| 8 #define _PAGEINT_H_ |
| 9 |
7 #include "../../../include/fpdfapi/fpdf_pageobj.h" | 10 #include "../../../include/fpdfapi/fpdf_pageobj.h" |
8 #define PARSE_STEP_LIMIT 100 | 11 #define PARSE_STEP_LIMIT 100 |
9 #define STREAM_PARSE_BUFSIZE 20480 | 12 #define STREAM_PARSE_BUFSIZE 20480 |
10 class CPDF_QuickFontCache; | 13 class CPDF_QuickFontCache; |
11 #ifndef _FPDFAPI_MINI_ | 14 #ifndef _FPDFAPI_MINI_ |
12 class CPDF_StreamParser : public CFX_Object | 15 class CPDF_StreamParser : public CFX_Object |
13 { | 16 { |
14 public: | 17 public: |
15 | 18 |
16 CPDF_StreamParser(const FX_BYTE* pData, FX_DWORD dwSize); | 19 CPDF_StreamParser(const FX_BYTE* pData, FX_DWORD dwSize); |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 public: | 499 public: |
497 struct _NamingState : public CFX_Object { | 500 struct _NamingState : public CFX_Object { |
498 CFX_ByteString m_Prefix; | 501 CFX_ByteString m_Prefix; |
499 int m_nIndex; | 502 int m_nIndex; |
500 }; | 503 }; |
501 ~CPDF_ResourceNaming(); | 504 ~CPDF_ResourceNaming(); |
502 CFX_ByteString GetName(const CPDF_Dictionary* pResList, FX_LPCS
TR szType); | 505 CFX_ByteString GetName(const CPDF_Dictionary* pResList, FX_LPCS
TR szType); |
503 protected: | 506 protected: |
504 CFX_MapByteStringToPtr m_NamingCache; | 507 CFX_MapByteStringToPtr m_NamingCache; |
505 }; | 508 }; |
| 509 |
| 510 #endif // _PAGEINT_H_ |
OLD | NEW |