| 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 CORE_FPDFAPI_FPDF_PAGE_PAGEINT_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_PAGEINT_H_ |
| 8 #define CORE_FPDFAPI_FPDF_PAGE_PAGEINT_H_ | 8 #define CORE_FPDFAPI_FPDF_PAGE_PAGEINT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 private: | 80 private: |
| 81 bool PositionIsInBounds() const; | 81 bool PositionIsInBounds() const; |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 #define PARAM_BUF_SIZE 16 | 84 #define PARAM_BUF_SIZE 16 |
| 85 struct ContentParam { | 85 struct ContentParam { |
| 86 enum Type { OBJECT = 0, NUMBER, NAME }; | 86 enum Type { OBJECT = 0, NUMBER, NAME }; |
| 87 Type m_Type; | 87 Type m_Type; |
| 88 union { | 88 union { |
| 89 struct { | 89 struct { |
| 90 FX_BOOL m_bInteger; | 90 bool m_bInteger; |
| 91 union { | 91 union { |
| 92 int m_Integer; | 92 int m_Integer; |
| 93 FX_FLOAT m_Float; | 93 FX_FLOAT m_Float; |
| 94 }; | 94 }; |
| 95 } m_Number; | 95 } m_Number; |
| 96 CPDF_Object* m_pObject; | 96 CPDF_Object* m_pObject; |
| 97 struct { | 97 struct { |
| 98 int m_Len; | 98 int m_Len; |
| 99 char m_Buffer[32]; | 99 char m_Buffer[32]; |
| 100 } m_Name; | 100 } m_Name; |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 }; | 553 }; |
| 554 | 554 |
| 555 CFX_ByteStringC PDF_FindKeyAbbreviationForTesting(const CFX_ByteStringC& abbr); | 555 CFX_ByteStringC PDF_FindKeyAbbreviationForTesting(const CFX_ByteStringC& abbr); |
| 556 CFX_ByteStringC PDF_FindValueAbbreviationForTesting( | 556 CFX_ByteStringC PDF_FindValueAbbreviationForTesting( |
| 557 const CFX_ByteStringC& abbr); | 557 const CFX_ByteStringC& abbr); |
| 558 | 558 |
| 559 void PDF_ReplaceAbbr(CPDF_Object* pObj); | 559 void PDF_ReplaceAbbr(CPDF_Object* pObj); |
| 560 bool IsPathOperator(const uint8_t* buf, size_t len); | 560 bool IsPathOperator(const uint8_t* buf, size_t len); |
| 561 | 561 |
| 562 #endif // CORE_FPDFAPI_FPDF_PAGE_PAGEINT_H_ | 562 #endif // CORE_FPDFAPI_FPDF_PAGE_PAGEINT_H_ |
| OLD | NEW |