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 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "../../include/formfiller/FormFiller.h" | 9 #include "../../include/formfiller/FormFiller.h" |
10 #include "../../include/formfiller/FFL_Utils.h" | 10 #include "../../include/formfiller/FFL_Utils.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 case PDFOBJ_REFERENCE: | 86 case PDFOBJ_REFERENCE: |
87 { | 87 { |
88 CPDF_Object* pDirectObj = pObj->GetDirect(); | 88 CPDF_Object* pDirectObj = pObj->GetDirect(); |
89 TraceObject(pDirectObj); | 89 TraceObject(pDirectObj); |
90 } | 90 } |
91 break; | 91 break; |
92 | 92 |
93 case PDFOBJ_BOOLEAN: | 93 case PDFOBJ_BOOLEAN: |
94 break; | 94 break; |
95 case PDFOBJ_NUMBER: | 95 case PDFOBJ_NUMBER: |
96 » » //TRACE("%d\n",(FX_INT32)pObj); | 96 » » //TRACE("%d\n",(int32_t)pObj); |
97 break; | 97 break; |
98 case PDFOBJ_STRING: | 98 case PDFOBJ_STRING: |
99 //TRACE(((CPDF_String*)pObj)->GetString() + "\n"); | 99 //TRACE(((CPDF_String*)pObj)->GetString() + "\n"); |
100 break; | 100 break; |
101 case PDFOBJ_NAME: | 101 case PDFOBJ_NAME: |
102 //TRACE(((CPDF_Name*)pObj)->GetString() + "\n"); | 102 //TRACE(((CPDF_Name*)pObj)->GetString() + "\n"); |
103 break; | 103 break; |
104 case PDFOBJ_NULL: | 104 case PDFOBJ_NULL: |
105 // case PDFOBJ_KEYWORD: | 105 // case PDFOBJ_KEYWORD: |
106 // case PDFOBJ_EOF: | 106 // case PDFOBJ_EOF: |
107 default: | 107 default: |
108 break; | 108 break; |
109 } | 109 } |
110 if (dwObjNum == 0) return FALSE; | 110 if (dwObjNum == 0) return FALSE; |
111 | 111 |
112 return TRUE; | 112 return TRUE; |
113 } | 113 } |
114 | 114 |
OLD | NEW |