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

Side by Side Diff: xfa/src/fxfa/src/app/xfa_textlayout.cpp

Issue 1746053003: Remove foxitlib.h and foxitxfa.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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
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 #include "xfa/src/fxfa/src/app/xfa_textlayout.h" 7 #include "xfa/src/fxfa/src/app/xfa_textlayout.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "core/include/fxcrt/fx_ext.h"
12 #include "xfa/src/fdp/include/fde_pen.h"
11 #include "xfa/src/fgas/include/fx_alg.h" 13 #include "xfa/src/fgas/include/fx_alg.h"
12 #include "xfa/src/fgas/include/fx_cpg.h" 14 #include "xfa/src/fgas/include/fx_cpg.h"
13 #include "xfa/src/foxitlib.h"
14 #include "xfa/src/fxfa/src/app/xfa_ffapp.h" 15 #include "xfa/src/fxfa/src/app/xfa_ffapp.h"
15 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h" 16 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h"
16 #include "xfa/src/fxfa/src/app/xfa_fontmgr.h" 17 #include "xfa/src/fxfa/src/app/xfa_fontmgr.h"
17 18
18 CXFA_CSSTagProvider::~CXFA_CSSTagProvider() { 19 CXFA_CSSTagProvider::~CXFA_CSSTagProvider() {
19 FX_POSITION pos = m_Attributes.GetStartPosition(); 20 FX_POSITION pos = m_Attributes.GetStartPosition();
20 while (pos) { 21 while (pos) {
21 CFX_WideString *pName = NULL, *pValue = NULL; 22 CFX_WideString *pName = NULL, *pValue = NULL;
22 m_Attributes.GetNextAssoc(pos, (void*&)pName, (void*&)pValue); 23 m_Attributes.GetNextAssoc(pos, (void*&)pName, (void*&)pValue);
23 delete pName; 24 delete pName;
(...skipping 1968 matching lines...) Expand 10 before | Expand all | Expand 10 after
1992 tr.iLength = iLength; 1993 tr.iLength = iLength;
1993 tr.fFontSize = pPiece->fFontSize; 1994 tr.fFontSize = pPiece->fFontSize;
1994 tr.iBidiLevel = pPiece->iBidiLevel; 1995 tr.iBidiLevel = pPiece->iBidiLevel;
1995 tr.iCharRotation = 0; 1996 tr.iCharRotation = 0;
1996 tr.wLineBreakChar = L'\n'; 1997 tr.wLineBreakChar = L'\n';
1997 tr.iVerticalScale = pPiece->iVerScale; 1998 tr.iVerticalScale = pPiece->iVerScale;
1998 tr.dwLayoutStyles = FX_RTFLAYOUTSTYLE_ExpandTab; 1999 tr.dwLayoutStyles = FX_RTFLAYOUTSTYLE_ExpandTab;
1999 tr.iHorizontalScale = pPiece->iHorScale; 2000 tr.iHorizontalScale = pPiece->iHorScale;
2000 return TRUE; 2001 return TRUE;
2001 } 2002 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698