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

Side by Side Diff: core/include/fpdfdoc/fpdf_ap.h

Issue 1160443004: Fix ALL the include guards. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Full style-guide compliance. Created 5 years, 6 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
« no previous file with comments | « core/include/fpdfapi/fpdfapi.h ('k') | core/include/fpdfdoc/fpdf_doc.h » ('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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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 _FPDF_AP_H_ 7 #ifndef CORE_INCLUDE_FPDFDOC_FPDF_AP_H_
8 #define _FPDF_AP_H_ 8 #define CORE_INCLUDE_FPDFDOC_FPDF_AP_H_
9 9
10 #include "../fxcrt/fx_basic.h" 10 #include "../fxcrt/fx_basic.h"
11 #include "../fpdfapi/fpdf_parser.h" 11 #include "../fpdfapi/fpdf_parser.h"
12 #include "fpdf_vt.h" 12 #include "fpdf_vt.h"
13
13 class IPVT_FontMap 14 class IPVT_FontMap
14 { 15 {
15 public: 16 public:
16 virtual ~IPVT_FontMap() { } 17 virtual ~IPVT_FontMap() { }
17 virtual CPDF_Font* GetPDFFont(FX_IN T32 nFontIndex) = 0; 18 virtual CPDF_Font* GetPDFFont(FX_IN T32 nFontIndex) = 0;
18 virtual CFX_ByteString GetPDFFontAlias( FX_INT32 nFontIndex) = 0; 19 virtual CFX_ByteString GetPDFFontAlias( FX_INT32 nFontIndex) = 0;
19 }; 20 };
20 struct CPVT_Dash { 21 struct CPVT_Dash {
21 22
22 CPVT_Dash(FX_INT32 dash, FX_INT32 gap, FX_INT32 phase) : nDash(dash), nGap(g ap), nPhase(phase) 23 CPVT_Dash(FX_INT32 dash, FX_INT32 gap, FX_INT32 phase) : nDash(dash), nGap(g ap), nPhase(phase)
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 static CFX_ByteString GenerateEditAP(I PVT_FontMap * pFontMap, IPDF_VariableText_Iterator * pIterator, 86 static CFX_ByteString GenerateEditAP(I PVT_FontMap * pFontMap, IPDF_VariableText_Iterator * pIterator,
86 const CPDF_Point & ptOffset, FX_BOOL bContinuous, FX_WORD SubWord = 0, const CPVT_WordRange * pVisible = NULL); 87 const CPDF_Point & ptOffset, FX_BOOL bContinuous, FX_WORD SubWord = 0, const CPVT_WordRange * pVisible = NULL);
87 88
88 static CFX_ByteString GenerateBorderAP (const CPDF_Rect & rect, FX_FLOAT fWidth, 89 static CFX_ByteString GenerateBorderAP (const CPDF_Rect & rect, FX_FLOAT fWidth,
89 const CPVT_Color & color, const CPVT_Color & crLeftTop, const CPVT_C olor & crRightBottom, 90 const CPVT_Color & color, const CPVT_Color & crLeftTop, const CPVT_C olor & crRightBottom,
90 FX_INT32 nStyle, const CPVT_Dash & dash); 91 FX_INT32 nStyle, const CPVT_Dash & dash);
91 92
92 static CFX_ByteString GenerateColorAP( const CPVT_Color & color, const FX_BOOL & bFillOrStroke); 93 static CFX_ByteString GenerateColorAP( const CPVT_Color & color, const FX_BOOL & bFillOrStroke);
93 }; 94 };
94 95
95 #endif // _FPDF_AP_H_ 96 #endif // CORE_INCLUDE_FPDFDOC_FPDF_AP_H_
OLDNEW
« no previous file with comments | « core/include/fpdfapi/fpdfapi.h ('k') | core/include/fpdfdoc/fpdf_doc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698