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 22 matching lines...) Expand all Loading... |
33 CPDF_Dictionary* pAnnotDict); | 33 CPDF_Dictionary* pAnnotDict); |
34 static bool GenerateInkAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict); | 34 static bool GenerateInkAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict); |
35 static bool GenerateListBoxAP(CPDF_Document* pDoc, | 35 static bool GenerateListBoxAP(CPDF_Document* pDoc, |
36 CPDF_Dictionary* pAnnotDict); | 36 CPDF_Dictionary* pAnnotDict); |
37 static bool GenerateSquareAP(CPDF_Document* pDoc, | 37 static bool GenerateSquareAP(CPDF_Document* pDoc, |
38 CPDF_Dictionary* pAnnotDict); | 38 CPDF_Dictionary* pAnnotDict); |
39 static bool GenerateSquigglyAP(CPDF_Document* pDoc, | 39 static bool GenerateSquigglyAP(CPDF_Document* pDoc, |
40 CPDF_Dictionary* pAnnotDict); | 40 CPDF_Dictionary* pAnnotDict); |
41 static bool GenerateStrikeOutAP(CPDF_Document* pDoc, | 41 static bool GenerateStrikeOutAP(CPDF_Document* pDoc, |
42 CPDF_Dictionary* pAnnotDict); | 42 CPDF_Dictionary* pAnnotDict); |
| 43 static bool GenerateTextAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict); |
43 static bool GenerateTextFieldAP(CPDF_Document* pDoc, | 44 static bool GenerateTextFieldAP(CPDF_Document* pDoc, |
44 CPDF_Dictionary* pAnnotDict); | 45 CPDF_Dictionary* pAnnotDict); |
45 static bool GenerateUnderlineAP(CPDF_Document* pDoc, | 46 static bool GenerateUnderlineAP(CPDF_Document* pDoc, |
46 CPDF_Dictionary* pAnnotDict); | 47 CPDF_Dictionary* pAnnotDict); |
47 static CFX_ByteString GenerateEditAP(IPVT_FontMap* pFontMap, | 48 static CFX_ByteString GenerateEditAP(IPVT_FontMap* pFontMap, |
48 CPDF_VariableText::Iterator* pIterator, | 49 CPDF_VariableText::Iterator* pIterator, |
49 const CFX_FloatPoint& ptOffset, | 50 const CFX_FloatPoint& ptOffset, |
50 FX_BOOL bContinuous, | 51 FX_BOOL bContinuous, |
51 uint16_t SubWord); | 52 uint16_t SubWord); |
52 static CFX_ByteString GenerateBorderAP(const CFX_FloatRect& rect, | 53 static CFX_ByteString GenerateBorderAP(const CFX_FloatRect& rect, |
(...skipping 10 matching lines...) Expand all Loading... |
63 int32_t nFontIndex, | 64 int32_t nFontIndex, |
64 uint16_t Word, | 65 uint16_t Word, |
65 uint16_t SubWord); | 66 uint16_t SubWord); |
66 static CFX_ByteString GetWordRenderString(const CFX_ByteString& strWords); | 67 static CFX_ByteString GetWordRenderString(const CFX_ByteString& strWords); |
67 static CFX_ByteString GetFontSetString(IPVT_FontMap* pFontMap, | 68 static CFX_ByteString GetFontSetString(IPVT_FontMap* pFontMap, |
68 int32_t nFontIndex, | 69 int32_t nFontIndex, |
69 FX_FLOAT fFontSize); | 70 FX_FLOAT fFontSize); |
70 }; | 71 }; |
71 | 72 |
72 #endif // CORE_FPDFDOC_CPVT_GENERATEAP_H_ | 73 #endif // CORE_FPDFDOC_CPVT_GENERATEAP_H_ |
OLD | NEW |