| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_CPVT_GENERATEAP_H_ | 7 #ifndef CORE_FPDFDOC_CPVT_GENERATEAP_H_ |
| 8 #define CORE_FPDFDOC_CPVT_GENERATEAP_H_ | 8 #define CORE_FPDFDOC_CPVT_GENERATEAP_H_ |
| 9 | 9 |
| 10 #include "core/fpdfdoc/cpvt_color.h" | 10 #include "core/fpdfdoc/cpvt_color.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 bool FPDF_GenerateAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict); | 24 bool FPDF_GenerateAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict); |
| 25 | 25 |
| 26 class CPVT_GenerateAP { | 26 class CPVT_GenerateAP { |
| 27 public: | 27 public: |
| 28 static bool GenerateComboBoxAP(CPDF_Document* pDoc, | 28 static bool GenerateComboBoxAP(CPDF_Document* pDoc, |
| 29 CPDF_Dictionary* pAnnotDict); | 29 CPDF_Dictionary* pAnnotDict); |
| 30 static bool GenerateHighlightAP(CPDF_Document* pDoc, | 30 static bool GenerateHighlightAP(CPDF_Document* pDoc, |
| 31 CPDF_Dictionary* pAnnotDict); | 31 CPDF_Dictionary* pAnnotDict); |
| 32 static bool GenerateListBoxAP(CPDF_Document* pDoc, | 32 static bool GenerateListBoxAP(CPDF_Document* pDoc, |
| 33 CPDF_Dictionary* pAnnotDict); | 33 CPDF_Dictionary* pAnnotDict); |
| 34 static bool GenerateStrikeOutAP(CPDF_Document* pDoc, |
| 35 CPDF_Dictionary* pAnnotDict); |
| 34 static bool GenerateTextFieldAP(CPDF_Document* pDoc, | 36 static bool GenerateTextFieldAP(CPDF_Document* pDoc, |
| 35 CPDF_Dictionary* pAnnotDict); | 37 CPDF_Dictionary* pAnnotDict); |
| 36 static bool GenerateUnderlineAP(CPDF_Document* pDoc, | 38 static bool GenerateUnderlineAP(CPDF_Document* pDoc, |
| 37 CPDF_Dictionary* pAnnotDict); | 39 CPDF_Dictionary* pAnnotDict); |
| 38 static CFX_ByteString GenerateEditAP(IPVT_FontMap* pFontMap, | 40 static CFX_ByteString GenerateEditAP(IPVT_FontMap* pFontMap, |
| 39 CPDF_VariableText::Iterator* pIterator, | 41 CPDF_VariableText::Iterator* pIterator, |
| 40 const CFX_FloatPoint& ptOffset, | 42 const CFX_FloatPoint& ptOffset, |
| 41 FX_BOOL bContinuous, | 43 FX_BOOL bContinuous, |
| 42 uint16_t SubWord); | 44 uint16_t SubWord); |
| 43 static CFX_ByteString GenerateBorderAP(const CFX_FloatRect& rect, | 45 static CFX_ByteString GenerateBorderAP(const CFX_FloatRect& rect, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 54 int32_t nFontIndex, | 56 int32_t nFontIndex, |
| 55 uint16_t Word, | 57 uint16_t Word, |
| 56 uint16_t SubWord); | 58 uint16_t SubWord); |
| 57 static CFX_ByteString GetWordRenderString(const CFX_ByteString& strWords); | 59 static CFX_ByteString GetWordRenderString(const CFX_ByteString& strWords); |
| 58 static CFX_ByteString GetFontSetString(IPVT_FontMap* pFontMap, | 60 static CFX_ByteString GetFontSetString(IPVT_FontMap* pFontMap, |
| 59 int32_t nFontIndex, | 61 int32_t nFontIndex, |
| 60 FX_FLOAT fFontSize); | 62 FX_FLOAT fFontSize); |
| 61 }; | 63 }; |
| 62 | 64 |
| 63 #endif // CORE_FPDFDOC_CPVT_GENERATEAP_H_ | 65 #endif // CORE_FPDFDOC_CPVT_GENERATEAP_H_ |
| OLD | NEW |