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

Side by Side Diff: core/fpdfdoc/include/fpdf_doc.h

Issue 2008553008: Remove CFX_PrivateData from CPDF_Page (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix non-XFA build. Created 4 years, 7 months 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 | « core/fpdfapi/fpdf_page/include/cpdf_page.h ('k') | fpdfsdk/fpdf_progressive.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_FPDFDOC_INCLUDE_FPDF_DOC_H_ 7 #ifndef CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_
8 #define CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ 8 #define CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 #define ANNOTFLAG_INVISIBLE 0x0001 310 #define ANNOTFLAG_INVISIBLE 0x0001
311 #define ANNOTFLAG_HIDDEN 0x0002 311 #define ANNOTFLAG_HIDDEN 0x0002
312 #define ANNOTFLAG_PRINT 0x0004 312 #define ANNOTFLAG_PRINT 0x0004
313 #define ANNOTFLAG_NOZOOM 0x0008 313 #define ANNOTFLAG_NOZOOM 0x0008
314 #define ANNOTFLAG_NOROTATE 0x0010 314 #define ANNOTFLAG_NOROTATE 0x0010
315 #define ANNOTFLAG_NOVIEW 0x0020 315 #define ANNOTFLAG_NOVIEW 0x0020
316 #define ANNOTFLAG_READONLY 0x0040 316 #define ANNOTFLAG_READONLY 0x0040
317 #define ANNOTFLAG_LOCKED 0x0080 317 #define ANNOTFLAG_LOCKED 0x0080
318 #define ANNOTFLAG_TOGGLENOVIEW 0x0100 318 #define ANNOTFLAG_TOGGLENOVIEW 0x0100
319 319
320 class CPDF_Annot : public CFX_PrivateData { 320 class CPDF_Annot {
321 public: 321 public:
322 enum AppearanceMode { Normal, Rollover, Down }; 322 enum AppearanceMode { Normal, Rollover, Down };
323 323
324 CPDF_Annot(CPDF_Dictionary* pDict, CPDF_AnnotList* pList); 324 CPDF_Annot(CPDF_Dictionary* pDict, CPDF_AnnotList* pList);
325 ~CPDF_Annot(); 325 ~CPDF_Annot();
326 326
327 CFX_ByteString GetSubType() const; 327 CFX_ByteString GetSubType() const;
328 uint32_t GetFlags() const; 328 uint32_t GetFlags() const;
329 void GetRect(CFX_FloatRect& rect) const; 329 void GetRect(CFX_FloatRect& rect) const;
330 const CPDF_Dictionary* GetAnnotDict() const { return m_pAnnotDict; } 330 const CPDF_Dictionary* GetAnnotDict() const { return m_pAnnotDict; }
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 CFX_WideString GetCaption(const CFX_ByteString& csEntry) const; 1001 CFX_WideString GetCaption(const CFX_ByteString& csEntry) const;
1002 CPDF_Stream* GetIcon(const CFX_ByteString& csEntry) const; 1002 CPDF_Stream* GetIcon(const CFX_ByteString& csEntry) const;
1003 1003
1004 CPDF_Dictionary* const m_pDict; 1004 CPDF_Dictionary* const m_pDict;
1005 }; 1005 };
1006 1006
1007 CPDF_Stream* FPDFDOC_GetAnnotAP(CPDF_Dictionary* pAnnotDict, 1007 CPDF_Stream* FPDFDOC_GetAnnotAP(CPDF_Dictionary* pAnnotDict,
1008 CPDF_Annot::AppearanceMode mode); 1008 CPDF_Annot::AppearanceMode mode);
1009 1009
1010 #endif // CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_ 1010 #endif // CORE_FPDFDOC_INCLUDE_FPDF_DOC_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/include/cpdf_page.h ('k') | fpdfsdk/fpdf_progressive.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698