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

Side by Side Diff: core/fpdfdoc/cpvt_generateap.h

Issue 2477443002: Remove FX_BOOL from core (Closed)
Patch Set: Created 4 years, 1 month 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/fpdfdoc/cpdf_viewerpreferences.cpp ('k') | core/fpdfdoc/cpvt_generateap.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 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/cpdf_defaultappearance.h" 10 #include "core/fpdfdoc/cpdf_defaultappearance.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 static bool GenerateStrikeOutAP(CPDF_Document* pDoc, 42 static bool GenerateStrikeOutAP(CPDF_Document* pDoc,
43 CPDF_Dictionary* pAnnotDict); 43 CPDF_Dictionary* pAnnotDict);
44 static bool GenerateTextAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict); 44 static bool GenerateTextAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
45 static bool GenerateTextFieldAP(CPDF_Document* pDoc, 45 static bool GenerateTextFieldAP(CPDF_Document* pDoc,
46 CPDF_Dictionary* pAnnotDict); 46 CPDF_Dictionary* pAnnotDict);
47 static bool GenerateUnderlineAP(CPDF_Document* pDoc, 47 static bool GenerateUnderlineAP(CPDF_Document* pDoc,
48 CPDF_Dictionary* pAnnotDict); 48 CPDF_Dictionary* pAnnotDict);
49 static CFX_ByteString GenerateEditAP(IPVT_FontMap* pFontMap, 49 static CFX_ByteString GenerateEditAP(IPVT_FontMap* pFontMap,
50 CPDF_VariableText::Iterator* pIterator, 50 CPDF_VariableText::Iterator* pIterator,
51 const CFX_FloatPoint& ptOffset, 51 const CFX_FloatPoint& ptOffset,
52 FX_BOOL bContinuous, 52 bool bContinuous,
53 uint16_t SubWord); 53 uint16_t SubWord);
54 static CFX_ByteString GenerateBorderAP(const CFX_FloatRect& rect, 54 static CFX_ByteString GenerateBorderAP(const CFX_FloatRect& rect,
55 FX_FLOAT fWidth, 55 FX_FLOAT fWidth,
56 const CPVT_Color& color, 56 const CPVT_Color& color,
57 const CPVT_Color& crLeftTop, 57 const CPVT_Color& crLeftTop,
58 const CPVT_Color& crRightBottom, 58 const CPVT_Color& crRightBottom,
59 BorderStyle nStyle, 59 BorderStyle nStyle,
60 const CPVT_Dash& dash); 60 const CPVT_Dash& dash);
61 static CFX_ByteString GenerateColorAP(const CPVT_Color& color, 61 static CFX_ByteString GenerateColorAP(const CPVT_Color& color,
62 PaintOperation nOperation); 62 PaintOperation nOperation);
63 63
64 static CFX_ByteString GetPDFWordString(IPVT_FontMap* pFontMap, 64 static CFX_ByteString GetPDFWordString(IPVT_FontMap* pFontMap,
65 int32_t nFontIndex, 65 int32_t nFontIndex,
66 uint16_t Word, 66 uint16_t Word,
67 uint16_t SubWord); 67 uint16_t SubWord);
68 static CFX_ByteString GetWordRenderString(const CFX_ByteString& strWords); 68 static CFX_ByteString GetWordRenderString(const CFX_ByteString& strWords);
69 static CFX_ByteString GetFontSetString(IPVT_FontMap* pFontMap, 69 static CFX_ByteString GetFontSetString(IPVT_FontMap* pFontMap,
70 int32_t nFontIndex, 70 int32_t nFontIndex,
71 FX_FLOAT fFontSize); 71 FX_FLOAT fFontSize);
72 }; 72 };
73 73
74 #endif // CORE_FPDFDOC_CPVT_GENERATEAP_H_ 74 #endif // CORE_FPDFDOC_CPVT_GENERATEAP_H_
OLDNEW
« no previous file with comments | « core/fpdfdoc/cpdf_viewerpreferences.cpp ('k') | core/fpdfdoc/cpvt_generateap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698