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

Side by Side Diff: core/fpdfapi/fpdf_page/cpdf_contentmarkdata.h

Issue 1811053002: Move core/include/fpdfapi/fpdf_pageobj.h into core/fpdfapi. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARKDATA_H_
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARKDATA_H_
9
10 #include <vector>
11
12 #include "core/fpdfapi/fpdf_page/cpdf_contentmarkitem.h"
13 #include "core/include/fxcrt/fx_system.h"
14
15 class CPDF_Dictionary;
16
17 class CPDF_ContentMarkData {
18 public:
19 CPDF_ContentMarkData() {}
20 CPDF_ContentMarkData(const CPDF_ContentMarkData& src);
21
22 int CountItems() const;
23 CPDF_ContentMarkItem& GetItem(int index) { return m_Marks[index]; }
24 const CPDF_ContentMarkItem& GetItem(int index) const {
25 return m_Marks[index];
26 }
27
28 int GetMCID() const;
29 void AddMark(const CFX_ByteString& name,
30 CPDF_Dictionary* pDict,
31 FX_BOOL bDictNeedClone);
32 void DeleteLastMark();
33
34 private:
35 std::vector<CPDF_ContentMarkItem> m_Marks;
36 };
37
38 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARKDATA_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_contentmark.cpp ('k') | core/fpdfapi/fpdf_page/cpdf_contentmarkdata.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698