OLD | NEW |
(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_CONTENTMARK_H_ |
| 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARK_H_ |
| 9 |
| 10 #include "core/fpdfapi/fpdf_page/cpdf_contentmarkdata.h" |
| 11 #include "core/include/fxcrt/fx_basic.h" |
| 12 |
| 13 class CPDF_ContentMark : public CFX_CountRef<CPDF_ContentMarkData> { |
| 14 public: |
| 15 int GetMCID() const { return m_pObject ? m_pObject->GetMCID() : -1; } |
| 16 |
| 17 FX_BOOL HasMark(const CFX_ByteStringC& mark) const; |
| 18 |
| 19 FX_BOOL LookupMark(const CFX_ByteStringC& mark, |
| 20 CPDF_Dictionary*& pDict) const; |
| 21 }; |
| 22 |
| 23 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_CONTENTMARK_H_ |
OLD | NEW |