Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: core/include/fpdfapi/fpdf_objects.h

Issue 1406943005: Clear decoders after the image decoder in the /Filter array (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: back to "<=" Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_
8 #define CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ 8 #define CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_
9 9
10 #include "../fxcrt/fx_coordinates.h" 10 #include "../fxcrt/fx_coordinates.h"
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 FX_FLOAT GetFloat(FX_DWORD index) const { return GetNumber(index); } 316 FX_FLOAT GetFloat(FX_DWORD index) const { return GetNumber(index); }
317 317
318 void SetAt(FX_DWORD index, 318 void SetAt(FX_DWORD index,
319 CPDF_Object* pObj, 319 CPDF_Object* pObj,
320 CPDF_IndirectObjects* pObjs = NULL); 320 CPDF_IndirectObjects* pObjs = NULL);
321 321
322 void InsertAt(FX_DWORD index, 322 void InsertAt(FX_DWORD index,
323 CPDF_Object* pObj, 323 CPDF_Object* pObj,
324 CPDF_IndirectObjects* pObjs = NULL); 324 CPDF_IndirectObjects* pObjs = NULL);
325 325
326 void RemoveAt(FX_DWORD index); 326 void RemoveAt(FX_DWORD index, int nCount = 1);
327 327
328 void Add(CPDF_Object* pObj, CPDF_IndirectObjects* pObjs = NULL); 328 void Add(CPDF_Object* pObj, CPDF_IndirectObjects* pObjs = NULL);
329 329
330 void AddNumber(FX_FLOAT f); 330 void AddNumber(FX_FLOAT f);
331 331
332 void AddInteger(int i); 332 void AddInteger(int i);
333 333
334 void AddString(const CFX_ByteString& str); 334 void AddString(const CFX_ByteString& str);
335 335
336 void AddName(const CFX_ByteString& str); 336 void AddName(const CFX_ByteString& str);
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 625
626 protected: 626 protected:
627 CFX_MapPtrToPtr m_IndirectObjs; 627 CFX_MapPtrToPtr m_IndirectObjs;
628 628
629 CPDF_Parser* m_pParser; 629 CPDF_Parser* m_pParser;
630 630
631 FX_DWORD m_LastObjNum; 631 FX_DWORD m_LastObjNum;
632 }; 632 };
633 633
634 #endif // CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ 634 #endif // CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698